docker/rspamd/Makefile
2024-11-03 17:07:51 +03:00

22 lines
467 B
Makefile

VERSION=3.10.2
BUILD=1
IMAGE=rspamd
REGISTRY=gitea.geekhome.org/ghp
DOVECOT_VERSION=2.3.16
POSTFIX_VERSION=3.5.9
RSPAMD_VERSION=$(VERSION)
.PHONY: build push all
build:
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) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push