VERSION=0.16.7 IMAGE=faas-cli REGISTRY=gitea.geekhome.org/ghp .PHONY: build push all build: docker build --build-arg="VERSION=$(VERSION)" -t $(REGISTRY)/$(IMAGE):$(VERSION) . push: docker push $(REGISTRY)/$(IMAGE):$(VERSION) all: build push