Commit 106b8938 authored by Adam Reese's avatar Adam Reese

Merge pull request #771 from adamreese/fix/gcr-push

fix(Makefile): push to gcr using gcloud
parents 02145760 582b1883
......@@ -15,8 +15,16 @@ docker-push: docker-mutable-push docker-immutable-push
.PHONY: docker-immutable-push
docker-immutable-push:
ifeq ($(DOCKER_REGISTRY),gcr.io)
gcloud docker push ${IMAGE}
else
docker push ${IMAGE}
endif
.PHONY: docker-mutable-push
docker-mutable-push:
ifeq ($(DOCKER_REGISTRY),gcr.io)
gcloud docker push ${MUTABLE_IMAGE}
else
docker push ${MUTABLE_IMAGE}
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment