docker/ddclient/Makefile
2023-06-10 08:04:31 +03:00

15 lines
282 B
Makefile

VERSION=3.9.1
BUILD=1
IMAGE=ddclient
REGISTRY=gitea.geekhome.org/ghp
.PHONY: build push all
build:
docker build --build-arg="DDCLIENT_VERSION=v$(VERSION)" -t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push