From 782275d6af4028e8f8209b00f972137b3a1a4de9 Mon Sep 17 00:00:00 2001 From: Tiger Kaovilai Date: Fri, 27 Sep 2024 10:26:34 -0400 Subject: [PATCH] Allow multi-arch manifest-list from `make container` by changing output type to image. Then you can execute command like so to create a multi-arch image ``` BUILDX_PLATFORMS=linux/amd64,linux/arm64 BUILDX_OUTPUT_TYPE=image make container ``` Signed-off-by: Tiger Kaovilai --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 401ee47d0ca..be8b30de4a0 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ RESTIC_VERSION ?= 0.15.0 CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 darwin-arm64 windows-amd64 linux-ppc64le BUILDX_PLATFORMS ?= $(subst -,/,$(ARCH)) -BUILDX_OUTPUT_TYPE ?= docker +BUILDX_OUTPUT_TYPE ?= image # set git sha and tree state GIT_SHA = $(shell git rev-parse HEAD)