dockerfiles/rainloop/Makefile

20 lines
366 B
Makefile
Raw Normal View History

2022-08-16 13:07:00 +02:00
IMG_NAME=rainloop
REGISTRY=registry.monotremata.xyz
2022-03-07 13:55:05 +01:00
IMG=$(REGISTRY)/$(IMG_NAME)
2022-08-16 13:07:00 +02:00
PLATFORMS=linux/arm64
2022-03-07 13:55:05 +01:00
2022-08-16 13:07:00 +02:00
.PHONY: build push buildx
2021-05-05 20:32:53 +02:00
2022-08-16 18:01:04 +02:00
build: Dockerfile entrypoint.sh nginx.conf
2022-03-07 13:55:05 +01:00
docker build -t $(IMG) .
push: build
docker image push $(IMG)
2021-05-05 20:32:53 +02:00
2022-08-16 18:01:04 +02:00
buildx: Dockerfile entrypoint.sh nginx.conf
2022-08-16 13:07:00 +02:00
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.