Skip to content

Commit b234bc9

Browse files
authored
Bump Chainsaw version and support multiarch bundle build (#915)
1 parent a4bae71 commit b234bc9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ GEN_API_DOCS_VERSION ?= v0.6.0
207207
ENVTEST_VERSION ?= latest
208208
OPERATOR_SDK_VERSION ?= 1.32.0
209209
CERTMANAGER_VERSION ?= 1.9.1
210-
CHAINSAW_VERSION ?= v0.1.7
210+
CHAINSAW_VERSION ?= v0.2.0
211211

212212
## Tool Binaries
213213
KUSTOMIZE ?= $(LOCALBIN)/kustomize-$(KUSTOMIZE_VERSION)
@@ -259,7 +259,7 @@ bundle:
259259

260260
.PHONY: bundle-build
261261
bundle-build: ## Build the bundle image.
262-
docker build -f $(BUNDLE_DIR)/bundle.Dockerfile -t $(BUNDLE_IMG) $(BUNDLE_DIR)
262+
docker buildx build --load --platform linux/${ARCH} -f $(BUNDLE_DIR)/bundle.Dockerfile -t $(BUNDLE_IMG) $(BUNDLE_DIR)
263263

264264
.PHONY: bundle-push
265265
bundle-push: ## Push the bundle image.

tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN curl -LO https://github.com/kudobuilder/kuttl/releases/download/v0.15.0/kube
1616
&& mv kubectl-kuttl_0.15.0_linux_x86_64 /usr/local/bin/kuttl
1717

1818
# Install chainsaw
19-
RUN go install github.com/kyverno/chainsaw@v0.1.7
19+
RUN go install github.com/kyverno/chainsaw@v0.2.0
2020

2121
# Install kubectl and oc
2222
RUN curl -L -o oc.tar.gz https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest/openshift-client-linux.tar.gz \

0 commit comments

Comments
 (0)