chore: deploy Docker image to internal registry
Change-Id: I84afff734c38a71bc2cff89616c9a414d1aad001
diff --git a/Makefile b/Makefile
index 8def031..1407aa4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,16 @@
VERSION ?= $(shell git rev-parse --short HEAD)
IMAGE_PROD := avm99963/gitwatcher
+IMAGE_INTERNAL := docker-registry.corp.avm99963.com/gitwatcher
docker-prod: Dockerfile
docker build --force-rm -f Dockerfile --tag=$(IMAGE_PROD):$(VERSION) .
docker tag $(IMAGE_PROD):$(VERSION) $(IMAGE_PROD):$(MUTABLE_VERSION)
+ docker tag $(IMAGE_PROD):$(VERSION) $(IMAGE_INTERNAL):$(VERSION)
+ docker tag $(IMAGE_PROD):$(VERSION) $(IMAGE_INTERNAL):$(MUTABLE_VERSION)
push-prod: docker-prod
docker push $(IMAGE_PROD):$(VERSION)
+ docker push $(IMAGE_PROD):$(MUTABLE_VERSION)
+ docker push $(IMAGE_INTERNAL):$(VERSION)
+ docker push $(IMAGE_INTERNAL):$(MUTABLE_VERSION)