dockerfiles/dnsmasq/Makefile

20 lines
315 B
Makefile
Raw Normal View History

2022-07-13 16:21:30 +02:00
IMG_NAME=dnsmasq
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/amd64
.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 \
.