try nest web pipeline config in web dir

This commit is contained in:
Collin M. Barrett 2019-12-21 13:09:11 -06:00
parent cdacb0baf3
commit 56a34d85cf

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,8 @@ steps:
containerRegistry: "collinbarrett2-dockerhub"
repository: "collinbarrett2/filterlists.web"
command: "build"
Dockerfile: "web/Dockerfile"
buildContext: "./web"
Dockerfile: "Dockerfile"
buildContext: "."
tags: |
latest
$(Build.BuildId)