Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: Iedfaf61600a174fe251014a11abb6ef5db4067ee
This commit is contained in:
Martin Chacon Piza 2021-04-07 13:50:46 +02:00
parent f77ce2ac80
commit 71cb3a1074
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"
shell: "docker push monasca/persister:{{ zuul.tag if zuul.pipeline == 'release' else 'stable-victoria'}}"