Skip to content

Commit c9c7864

Browse files
committed
Register gcloud as a Docker credential in Makefile
1 parent 97f09be commit c9c7864

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ build-in-docker: clean docker-builder
112112
docker run -v `pwd`:/gopath/src/k8s.io/node-problem-detector/ npd-builder:latest bash -c 'cd /gopath/src/k8s.io/node-problem-detector/ && make build-binaries'
113113

114114
push-container: build-container
115-
gcloud docker -- push $(IMAGE)
115+
gcloud auth configure-docker
116+
docker push $(IMAGE)
116117

117118
push-tar: build-tar
118119
gsutil cp $(TARBALL) $(UPLOAD_PATH)/node-problem-detector/

0 commit comments

Comments
 (0)