VERSION=2.3.1 IMAGE=haproxy REGISTRY=gitea.geekhome.org/ghp .PHONY: build push all build: docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) . push: docker push $(REGISTRY)/$(IMAGE):$(VERSION) all: build push