Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: I4cf165314c53f36a00e9bebfa9b2bc32b04b015d
This commit is contained in:
Martin Chacon Piza 2021-04-07 13:54:46 +02:00
parent 929c5e9fe3
commit ef5d1acb41
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-train'}}"