15 lines
282 B
Makefile
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
|