mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
try yaml-based web buildAndPush
This commit is contained in:
parent
7fea930cff
commit
278b8b2c9d
1 changed files with 15 additions and 6 deletions
|
|
@ -2,12 +2,21 @@ trigger:
|
|||
- master
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
vmImage: "ubuntu-latest"
|
||||
|
||||
steps:
|
||||
- task: DockerCompose@0
|
||||
displayName: build
|
||||
- task: Docker@2
|
||||
displayName: login to github package registry
|
||||
inputs:
|
||||
dockerComposeFile: 'docker-compose.yml'
|
||||
additionalDockerComposeFiles: 'docker-compose.prod.yml'
|
||||
dockerComposeCommand: 'build web'
|
||||
command: login
|
||||
containerRegistry: "GitHub Docker Package Registry - FilterLists"
|
||||
|
||||
- task: Docker@2
|
||||
displayName: build and push
|
||||
inputs:
|
||||
command: buildAndPush
|
||||
repository: collinbarrett/FilterLists
|
||||
Dockerfile: src/FilterLists.Web/Dockerfile
|
||||
tags: |
|
||||
latest
|
||||
$(Build.BuildId)
|
||||
|
|
|
|||
Loading…
Reference in a new issue