diff --git a/playbooks/publish.yml b/playbooks/publish.yml index fc9507a6..7b7d86d6 100644 --- a/playbooks/publish.yml +++ b/playbooks/publish.yml @@ -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/base" + shell: "docker push monasca/base:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"