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

@@ -116,7 +116,7 @@ endif
push: build
gcloud docker -- push ${REGISTRY}/hyperkube-${ARCH}:${VERSION}
ifeq ($(ARCH),amd64)
docker rmi ${REGISTRY}/hyperkube:${VERSION} || true
docker rmi ${REGISTRY}/hyperkube:${VERSION} 2>/dev/null || true
docker tag ${REGISTRY}/hyperkube-${ARCH}:${VERSION} ${REGISTRY}/hyperkube:${VERSION}
gcloud docker -- push ${REGISTRY}/hyperkube:${VERSION}
endif