blob: f3c5687c279ba04d838615a6b1471ee8424213ab [file] [log] [blame]
MUTABLE_VERSION ?= latest
VERSION ?= $(shell git rev-parse --short HEAD)
IMAGE_PROD := hichipbridge
docker-prod: Dockerfile
docker build --force-rm -f Dockerfile --tag=$(IMAGE_PROD):$(VERSION) ../../
docker tag $(IMAGE_PROD):$(VERSION) $(IMAGE_PROD):$(MUTABLE_VERSION)
push-prod: docker-prod
docker push $(IMAGE_PROD):$(VERSION)