dockerfiles/webdav/Makefile

20 lines
340 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
build: Dockerfile
docker build -t $(IMG) .
2022-08-16 13:07:00 +02:00
push: build
docker image push $(IMG)
2022-03-07 16:57:07 +01:00
buildx: Dockerfile
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.