dockerfiles/pleroma/Makefile

20 lines
343 B
Makefile
Raw Normal View History

2022-06-28 12:40:36 +02:00
IMG_NAME=pleroma
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/amd64
2021-02-23 19:28:50 +01:00
2022-08-16 13:07:00 +02:00
.PHONY: build push buildx
2021-02-23 19:28:50 +01:00
build: Dockerfile entrypoint.sh
2022-06-28 12:40:36 +02:00
docker build -t $(IMG) .
2021-02-23 19:28:50 +01:00
2022-06-28 12:40:36 +02:00
push: build
docker image push $(IMG)
buildx: Dockerfile entrypoint.sh
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.