Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: Ie4b135c456333cd8a98cfb1d5231351786d1dd86
This commit is contained in:
Martin Chacon Piza 2021-02-24 11:48:20 +01:00
parent ccae320767
commit 9aa47afe5d
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/base:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"
shell: "docker push monasca/base:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"