Skip to content

Commit e1781ac

Browse files
ci(build): route flux-plunger and kubeovn-plunger through $(BUILDER)
These two recipes spell out their buildx flags instead of using $(BUILDX_ARGS), so they never received --builder and ran on the default docker driver. After the mode=max migration that became a hard failure -- "Cache export is not supported for the docker driver" -- since the embedded docker driver cannot export a registry cache. Add the same conditional --builder flag $(BUILDX_ARGS) carries, so WRITE_CACHE=1 builds route to the docker-container builder; an empty BUILDER still emits no flag for local builds. Part of #2937. Assisted-By: Claude <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent 6d04ba5 commit e1781ac

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/system/flux-plunger/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ include ../../../hack/package.mk
77
image:
88
docker buildx build -f images/flux-plunger/Dockerfile ../../../ \
99
--provenance false \
10+
$(if $(strip $(BUILDER)),--builder=$(BUILDER)) \
1011
$(call image-tags,flux-plunger,v$(COZYSTACK_VERSION)) \
1112
$(call cache-args,flux-plunger) \
1213
--metadata-file images/flux-plunger.json \

‎packages/system/kubeovn-plunger/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ include ../../../hack/package.mk
77
image:
88
docker buildx build -f images/kubeovn-plunger/Dockerfile ../../../ \
99
--provenance false \
10+
$(if $(strip $(BUILDER)),--builder=$(BUILDER)) \
1011
$(call image-tags,kubeovn-plunger,v$(COZYSTACK_VERSION)) \
1112
$(call cache-args,kubeovn-plunger) \
1213
--metadata-file images/kubeovn-plunger.json \

0 commit comments

Comments
 (0)