Skip to content

Commit

Permalink
Allow multi-arch manifest-list from make container
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kaovilai committed Sep 27, 2024
1 parent aab2140 commit 782275d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 782275d

Please sign in to comment.