gcloud docker now auths k8s.gcr.io by default

This commit is contained in:
Tim Hockin
2017-12-14 20:50:14 -08:00
parent eba5b6092a
commit f7be352a67
28 changed files with 39 additions and 39 deletions

View File

@@ -44,11 +44,11 @@ endif
rm -rf "${TEMP_DIR}"
push: build
gcloud docker --server=k8s.gcr.io -- push ${REGISTRY}/hyperkube-${ARCH}:${VERSION}
gcloud docker -- push ${REGISTRY}/hyperkube-${ARCH}:${VERSION}
ifeq ($(ARCH),amd64)
docker rmi ${REGISTRY}/hyperkube:${VERSION} 2>/dev/null || true
docker tag ${REGISTRY}/hyperkube-${ARCH}:${VERSION} ${REGISTRY}/hyperkube:${VERSION}
gcloud docker --server=k8s.gcr.io -- push ${REGISTRY}/hyperkube:${VERSION}
gcloud docker -- push ${REGISTRY}/hyperkube:${VERSION}
endif
.PHONY: build push all