specify image name in tag defs

This commit is contained in:
Collin M. Barrett 2019-09-25 08:06:04 -05:00
parent 67b1d36262
commit 5343685491

View file

@ -39,8 +39,8 @@ steps:
Dockerfile: "src/FilterLists.Web/Dockerfile"
buildContext: "."
tags: |
latest
$(Build.BuildId)
filterlists.web:latest
filterlists.web:$(Build.BuildId)
- task: Docker@2
displayName: login to github package registry
@ -57,5 +57,5 @@ steps:
command: "push"
condition: "and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))"
tags: |
latest
$(Build.BuildId)
filterlists.web:latest
filterlists.web:$(Build.BuildId)