github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/containers/ddev-nginx-proxy-router/Makefile (about) 1 # Docker repo for a push 2 DOCKER_REPO ?= ddev/ddev-nginx-proxy-router 3 4 VERSION := $(shell git describe --tags --always --dirty) 5 6 # Tests always run against amd64 (build host). Once tests have passed, a multi-arch build 7 # will be generated and pushed (the amd64 build will be cached automatically to prevent it from building twice). 8 BUILD_ARCHS=linux/amd64,linux/arm64 9 10 include ../containers_shared.mak 11 12 test: container 13 bash -c "test/containertest.sh $(DOCKER_REPO):$(VERSION)" 14 15 multi-arch: 16 docker buildx build --platform $(BUILD_ARCHS) -t $(DOCKER_REPO):$(VERSION) $(DOCKER_ARGS) .; \ 17 echo "created multi-arch builds $(BUILD_ARCHS) for $(DOCKER_REPO)";