Skip to content

Commit be8a440

Browse files
authored
Merge pull request kubernetes-csi#4 from pohly/canary-fix
build.make: fix pushing of "canary" image from master branch
2 parents 3041b8a + 09436b9 commit be8a440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.make

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ push-%: container-%
7070
docker push $(IMAGE_NAME):$$tag; \
7171
}; \
7272
for tag in $(IMAGE_TAGS); do \
73-
if echo $$tag | grep -q -e '-canary$$'; then \
73+
if [ "$$tag" = "canary" ] || echo "$$tag" | grep -q -e '-canary$$'; then \
7474
: "creating or overwriting canary image"; \
7575
push_image; \
7676
elif docker pull $(IMAGE_NAME):$$tag 2>&1 | tee /dev/stderr | grep -q "manifest for $(IMAGE_NAME):$$tag not found"; then \

0 commit comments

Comments
 (0)