Skip to content

Commit

Permalink
Merge pull request kubernetes-retired#4 from pohly/canary-fix
Browse files Browse the repository at this point in the history
build.make: fix pushing of "canary" image from master branch
  • Loading branch information
k8s-ci-robot authored Jan 25, 2019
2 parents f7c26e2 + 24e609b commit 5217e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container-object-storage-interface-controller/build.make
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ push-%: container-%
docker push $(IMAGE_NAME):$$tag; \
}; \
for tag in $(IMAGE_TAGS); do \
if echo $$tag | grep -q -e '-canary$$'; then \
if [ "$$tag" = "canary" ] || echo "$$tag" | grep -q -e '-canary$$'; then \
: "creating or overwriting canary image"; \
push_image; \
elif docker pull $(IMAGE_NAME):$$tag 2>&1 | tee /dev/stderr | grep -q "manifest for $(IMAGE_NAME):$$tag not found"; then \
Expand Down

0 comments on commit 5217e59

Please sign in to comment.