Fix zuul publish docker image job
Add tag to docker push command with specific branch name Change-Id: I878f30ccdbd4244ec49c551ee24acd5426dfb6c9
This commit is contained in:
parent
09709ed29b
commit
cf4d9cc470
@ -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/client:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"
|
||||
shell: "docker push monasca/client:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"
|
||||
|
Loading…
Reference in New Issue
Block a user