docker/rspamd/Makefile

22 lines
466 B
Makefile
Raw Normal View History

2024-08-24 00:31:02 +00:00
VERSION=3.9.1
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