2024-03-02 14:05:52 +00:00
|
|
|
VERSION=3.8.3
|
2024-01-25 23:07:41 +00:00
|
|
|
BUILD=1
|
2021-01-09 18:06:20 +00:00
|
|
|
IMAGE=rspamd
|
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:41 +00:00
|
|
|
DOVECOT_VERSION=2.3.16
|
|
|
|
POSTFIX_VERSION=3.5.9
|
|
|
|
RSPAMD_VERSION=$(VERSION)
|
|
|
|
|
2021-01-09 18:06:20 +00:00
|
|
|
.PHONY: build push all
|
|
|
|
|
|
|
|
build:
|
2024-01-25 23:07:41 +00:00
|
|
|
docker build --build-arg DOVECOT_VERSION=$(DOVECOT_VERSION) \
|
|
|
|
--build-arg POSTFIX_VERSION=$(POSTFIX_VERSION) \
|
|
|
|
--build-arg RSPAMD_VERSION=$(RSPAMD_VERSION) \
|
|
|
|
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
|
2021-01-09 18:06:20 +00:00
|
|
|
|
|
|
|
push:
|
2024-01-25 23:07:41 +00:00
|
|
|
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
|
2021-01-09 18:06:20 +00:00
|
|
|
|
|
|
|
all: build push
|