Skip to content

Commit 5407ee0

Browse files
committed
system/metallb: multiarch support
Signed-off-by: nbykov0 <[email protected]>
1 parent 609e7ed commit 5407ee0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎packages/system/metallb/Makefile‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@ image-controller image-speaker:
1616
$(eval VERSION := $(shell yq '.appVersion' charts/metallb/Chart.yaml))
1717
docker buildx build images/metallb \
1818
--provenance false \
19+
--builder=$(BUILDER) \
20+
--platform=$(PLATFORM) \
1921
--target $(TARGET) \
2022
--build-arg VERSION=$(VERSION) \
2123
--tag $(REGISTRY)/metallb-$(TARGET):$(VERSION) \
2224
--cache-from type=registry,ref=$(REGISTRY)/metallb-$(TARGET):latest \
2325
--cache-to type=inline \
2426
--metadata-file images/$(TARGET).json \
2527
--push=$(PUSH) \
26-
--label "org.opencontainers.image.source=https://github.com/cozystack/cozystack"
27-
--load=1
28+
--label "org.opencontainers.image.source=https://github.com/cozystack/cozystack" \
29+
--load=$(LOAD)
2830
REPOSITORY="$(REGISTRY)/metallb-$(TARGET)" \
2931
yq -i '.metallb.$(TARGET).image.repository = strenv(REPOSITORY)' values.yaml
3032
TAG=$(VERSION)@$$(yq e '."containerimage.digest"' images/$(TARGET).json -o json -r) \

0 commit comments

Comments
 (0)