We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2c7b2e commit aae7f52Copy full SHA for aae7f52
1 file changed
Makefile
@@ -3,6 +3,7 @@ DRYCC_REGISTRY ?= $(DEV_REGISTRY)
3
IMAGE_PREFIX ?= drycc
4
COMPONENT ?= controller
5
SHORT_NAME ?= $(COMPONENT)
6
+PLATFORM ?= linux/amd64,linux/arm64
7
8
include versioning.mk
9
@@ -30,6 +31,9 @@ docker-build: check-docker
30
31
docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE} rootfs
32
docker tag ${IMAGE} ${MUTABLE_IMAGE}
33
34
+docker-buildx:
35
+ docker buildx build --platform ${PLATFORM} -t ${IMAGE} rootfs --push
36
+
37
docker-build-test: check-docker
38
docker build ${DOCKER_BUILD_FLAGS} -t ${IMAGE}.test -f rootfs/Dockerfile.test rootfs
39
0 commit comments