Skip to content

Commit

Permalink
Merge pull request #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 3041b8a + 09436b9 commit be8a440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 be8a440

Please sign in to comment.