Silence error messages from docker rmi calls we expect to fail

This commit is contained in:
Jeff Grafton
2017-03-07 12:38:26 -08:00
parent 7593a9f555
commit 836b59962a
5 changed files with 6 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ push: build
gcloud docker -- push $(IMAGE)-$(ARCH):$(VERSION)
ifeq ($(ARCH),amd64)
# Backward compatibility. TODO: deprecate this image tag
docker rmi $(IMAGE):$(VERSION) || true
docker rmi $(IMAGE):$(VERSION) 2>/dev/null || true
docker tag $(IMAGE)-$(ARCH):$(VERSION) $(IMAGE):$(VERSION)
gcloud docker -- push $(IMAGE):$(VERSION)
endif