docker/dovecot/Makefile
2024-08-24 03:30:52 +03:00

20 lines
392 B
Makefile

VERSION=2.3.16
BUILD=4
IMAGE=dovecot
REGISTRY=gitea.geekhome.org/ghp
DOVECOT_VERSION=$(VERSION)
POSTFIX_VERSION=3.5.9
.PHONY: build push all
build:
docker build --build-arg DOVECOT_VERSION=$(DOVECOT_VERSION) \
--build-arg POSTFIX_VERSION=$(POSTFIX_VERSION) \
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push