move web Pipeline config to web directory

This commit is contained in:
Collin M. Barrett 2019-12-08 16:17:59 -06:00
parent af00c2b561
commit d5b0476c6a

View file

@ -3,26 +3,14 @@ trigger:
branches:
include: ["master"]
paths:
include:
[
"azure-pipelines.web.yaml",
"docker-compose.yml",
"docker-compose.prod.yml",
"web/*",
]
include: ["../docker-compose.yml", "../docker-compose.prod.yml", "."]
pr:
autoCancel: false
branches:
include: ["master"]
paths:
include:
[
"azure-pipelines.web.yaml",
"docker-compose.yml",
"docker-compose.prod.yml",
"web/*",
]
include: ["../docker-compose.yml", "../docker-compose.prod.yml", "."]
pool:
vmImage: "ubuntu-latest"
@ -34,8 +22,7 @@ steps:
containerRegistry: "collinbarrett2-dockerhub"
repository: "collinbarrett2/filterlists.web"
command: "build"
Dockerfile: "web/Dockerfile"
buildContext: "./web"
buildContext: "."
tags: |
latest
$(Build.BuildId)