Commit 582b1883 authored by Adam Reese's avatar Adam Reese

fix(Makefile): push to gcr using gcloud

parent 02145760
...@@ -15,8 +15,16 @@ docker-push: docker-mutable-push docker-immutable-push ...@@ -15,8 +15,16 @@ docker-push: docker-mutable-push docker-immutable-push
.PHONY: docker-immutable-push .PHONY: docker-immutable-push
docker-immutable-push: docker-immutable-push:
ifeq ($(DOCKER_REGISTRY),gcr.io)
gcloud docker push ${IMAGE}
else
docker push ${IMAGE} docker push ${IMAGE}
endif
.PHONY: docker-mutable-push .PHONY: docker-mutable-push
docker-mutable-push: docker-mutable-push:
ifeq ($(DOCKER_REGISTRY),gcr.io)
gcloud docker push ${MUTABLE_IMAGE}
else
docker push ${MUTABLE_IMAGE} 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