dockerfiles/webdav/Makefile

23 lines
401 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
.PHONY: build build-nc push
build: Dockerfile
docker build -t $(IMG) .
buildx: Dockerfile
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.
push: build
docker image push $(IMG)
build-nc: Dockerfile
docker build --no-cache -t $(IMG) .