diff --git a/playbooks/docker-publish.yml b/playbooks/docker-publish.yml index 30ad0cf..a24ea1e 100644 --- a/playbooks/docker-publish.yml +++ b/playbooks/docker-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/notification" + shell: "docker push monasca/notification:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"