Skip to content

Commit

Permalink
Fix zuul publish docker image job
Browse files Browse the repository at this point in the history
Add tag to docker push command with specific branch name

Change-Id: I878f30ccdbd4244ec49c551ee24acd5426dfb6c9
  • Loading branch information
chaconpiza committed Apr 7, 2021
1 parent 09709ed commit cf4d9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}}"

0 comments on commit cf4d9cc

Please sign in to comment.