dockerfiles/static-page-builder/Makefile

20 lines
339 B
Makefile
Raw Normal View History

2022-08-22 12:20:17 +02:00
IMG_NAME=static-page-builder
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/amd64,linux/arm64
.PHONY: build push buildx
build: Dockerfile
docker build -t $(IMG) .
push: build
docker image push $(IMG)
buildx: Dockerfile
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.