From 9aa47afe5d39efcfd2f8b64810ac58857b4f7997 Mon Sep 17 00:00:00 2001 From: Martin Chacon Piza Date: Wed, 24 Feb 2021 11:48:20 +0100 Subject: [PATCH] Fix zuul publish docker image job Add tag to docker push command with specific branch name Change-Id: Ie4b135c456333cd8a98cfb1d5231351786d1dd86 --- playbooks/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/publish.yml b/playbooks/publish.yml index 7b7d86d6..a7accf8e 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:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}" + shell: "docker push monasca/base:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"