14 lines
214 B
Makefile
14 lines
214 B
Makefile
VERSION=3.5.9-1
|
|
IMAGE=postfix
|
|
REGISTRY=gitea.geekhome.org/ghp
|
|
|
|
.PHONY: build push all
|
|
|
|
build:
|
|
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) .
|
|
|
|
push:
|
|
docker push $(REGISTRY)/$(IMAGE):$(VERSION)
|
|
|
|
all: build push
|