VERSION=latest IMAGE=pwgen 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