Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: Ib33a54537f9394aea77f3cdaf135183f0dacdca3
This commit is contained in:
Martin Chacon Piza 2021-04-07 13:46:06 +02:00
parent dc589ae7a2
commit 72c0b6911e
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/persister:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"
shell: "docker push monasca/persister:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"