dockerfiles/webdav/Makefile

20 lines
362 B
Makefile
Raw Normal View History

2022-03-07 16:57:07 +01:00
IMG_NAME = webdav
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/amd64,linux/arm64
2022-08-16 13:07:00 +02:00
.PHONY: build push buildx
2022-03-07 16:57:07 +01:00
2022-08-16 21:37:47 +02:00
build: Dockerfile nginx.conf
2022-03-07 16:57:07 +01:00
docker build -t $(IMG) .
2022-08-16 13:07:00 +02:00
push: build
docker image push $(IMG)
2022-08-16 21:37:47 +02:00
buildx: Dockerfile nginx.conf
2022-03-07 16:57:07 +01:00
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.