docker/dovecot/Makefile

20 lines
392 B
Makefile
Raw Normal View History

2024-01-25 23:07:49 +00:00
VERSION=2.3.16
2024-08-24 00:30:52 +00:00
BUILD=4
2021-01-09 18:06:20 +00:00
IMAGE=dovecot
2023-06-10 05:04:31 +00:00
REGISTRY=gitea.geekhome.org/ghp
2021-01-09 18:06:20 +00:00
2024-01-25 23:07:49 +00:00
DOVECOT_VERSION=$(VERSION)
POSTFIX_VERSION=3.5.9
2021-01-09 18:06:20 +00:00
.PHONY: build push all
build:
2024-01-25 23:07:49 +00:00
docker build --build-arg DOVECOT_VERSION=$(DOVECOT_VERSION) \
--build-arg POSTFIX_VERSION=$(POSTFIX_VERSION) \
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
2021-01-09 18:06:20 +00:00
push:
2024-01-25 23:07:49 +00:00
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
2021-01-09 18:06:20 +00:00
all: build push