2024-01-25 23:07:58 +00:00
|
|
|
VERSION=3.5.9
|
2024-08-24 00:30:49 +00:00
|
|
|
BUILD=3
|
2021-01-09 18:06:20 +00:00
|
|
|
IMAGE=postfix
|
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:58 +00:00
|
|
|
DOVECOT_VERSION=2.3.16
|
|
|
|
POSTFIX_VERSION=$(VERSION)
|
|
|
|
|
2021-01-09 18:06:20 +00:00
|
|
|
.PHONY: build push all
|
|
|
|
|
|
|
|
build:
|
2024-01-25 23:07:58 +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:58 +00:00
|
|
|
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
|
2021-01-09 18:06:20 +00:00
|
|
|
|
|
|
|
all: build push
|