diff --git a/web/azure-pipelines.web.yaml b/azure-pipelines.web.yaml similarity index 80% rename from web/azure-pipelines.web.yaml rename to azure-pipelines.web.yaml index 4101a51ac..eb1008861 100644 --- a/web/azure-pipelines.web.yaml +++ b/azure-pipelines.web.yaml @@ -3,14 +3,26 @@ trigger: branches: include: ["master"] paths: - include: ["../docker-compose.yml", "../docker-compose.prod.yml", "*"] + include: + [ + "azure-pipelines.web.yaml", + "docker-compose.yml", + "docker-compose.prod.yml", + "web/*", + ] pr: autoCancel: false branches: include: ["master"] paths: - include: ["../docker-compose.yml", "../docker-compose.prod.yml", "*"] + include: + [ + "azure-pipelines.web.yaml", + "docker-compose.yml", + "docker-compose.prod.yml", + "web/*", + ] pool: vmImage: "ubuntu-latest" @@ -22,7 +34,8 @@ steps: containerRegistry: "collinbarrett2-dockerhub" repository: "collinbarrett2/filterlists.web" command: "build" - buildContext: "." + Dockerfile: "web/Dockerfile" + buildContext: "./web" tags: | latest $(Build.BuildId)