Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: I222add517fd8f5009c5783d4dbb309501eb9a109
This commit is contained in:
Martin Chacon Piza 2021-02-24 11:53:52 +01:00
parent 0de4f06361
commit a04b1bbe63

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/base"
shell: "docker push monasca/base:{{ zuul.tag if zuul.pipeline == 'release' else 'victoria'}}"