Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: I9c408f2198a017391decba04008f2d3bfec6525e
This commit is contained in:
Adrian Czarnecki 2021-01-19 13:11:48 +01:00 committed by Martin Chacon Piza
parent 35a9b57f91
commit 5104c9ebac

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