Fix zuul publish docker image job
Add tag to docker push command with specific branch name Change-Id: I4cf165314c53f36a00e9bebfa9b2bc32b04b015d
This commit is contained in:
parent
929c5e9fe3
commit
ef5d1acb41
|
@ -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'}}"
|
||||
|
|
Loading…
Reference in New Issue