Fix zuul publish docker image job

Change-Id: I019c24c8466b09da4632eea7dc7793aac223e3b5
This commit is contained in:
Adrian Czarnecki 2021-01-19 13:10:10 +01:00
parent 9cb4a752c0
commit 90754d0b78
1 changed files with 1 additions and 1 deletions

View File

@ -9,4 +9,4 @@
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
- name: Push to Docker Hub all tags
shell: "docker push monasca/api"
shell: "docker push monasca/api:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"