Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: I9100912457dffcb0441d5e20a18074c4da8bff26
This commit is contained in:
Martin Chacon Piza 2021-02-24 12:01:08 +01:00
parent 44b390866b
commit b4aa7f1b08

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 'ussuri'}}"