VERSION=0.1.1 IMAGE=github-release-bot ifneq ($(REGISTRY),) _REGISTRY =$(REGISTRY)/ endif .PHONY: build push all build: docker build -t $(_REGISTRY)$(IMAGE):$(VERSION) -f docker/Dockerfile . push: docker push $(_REGISTRY)$(IMAGE):$(VERSION) all: build push