From cf4d9cc470ac8150c70dda8742113f2aeeaff69b Mon Sep 17 00:00:00 2001 From: Martin Chacon Piza Date: Wed, 7 Apr 2021 14:13:49 +0200 Subject: [PATCH] Fix zuul publish docker image job Add tag to docker push command with specific branch name Change-Id: I878f30ccdbd4244ec49c551ee24acd5426dfb6c9 --- playbooks/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/docker-publish.yml b/playbooks/docker-publish.yml index f539540..b400758 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/client:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}" + shell: "docker push monasca/client:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"