docker/ddclient/Makefile

15 lines
282 B
Makefile
Raw Normal View History

2023-06-10 03:20:50 +00:00
VERSION=3.9.1
BUILD=1
2021-01-09 18:06:20 +00:00
IMAGE=ddclient
2023-06-10 05:04:31 +00:00
REGISTRY=gitea.geekhome.org/ghp
2021-01-09 18:06:20 +00:00
.PHONY: build push all
build:
2023-06-10 03:20:50 +00:00
docker build --build-arg="DDCLIENT_VERSION=v$(VERSION)" -t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
2021-01-09 18:06:20 +00:00
push:
2023-06-10 03:20:50 +00:00
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
2021-01-09 18:06:20 +00:00
all: build push