Skip to content

Commit aafefcb

Browse files
authored
Merge pull request #578 from andyzhangx/fix-buildx
fix: buildx issue with provenance disabled
2 parents 0b925df + 0a95192 commit aafefcb

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,17 +143,20 @@ container: smb
143143
.PHONY: container-linux
144144
container-linux:
145145
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/$(ARCH)" \
146+
--provenance=false --sbom=false \
146147
-t $(IMAGE_TAG)-linux-$(ARCH) --build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile .
147148

148149
.PHONY: container-linux-armv7
149150
container-linux-armv7:
150151
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/arm/v7" \
152+
--provenance=false --sbom=false \
151153
-t $(IMAGE_TAG)-linux-arm-v7 --build-arg ARCH=arm/v7 -f ./cmd/smbplugin/Dockerfile .
152154

153155
.PHONY: container-windows
154156
container-windows:
155157
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="windows/$(ARCH)" \
156158
-t $(IMAGE_TAG)-windows-$(OSVERSION)-$(ARCH) --build-arg OSVERSION=$(OSVERSION) \
159+
--provenance=false --sbom=false \
157160
--build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile.Windows .
158161

159162
.PHONY: container-all

hack/boilerplate/boilerplate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright 2019 The Kubernetes Authors.
44
#

test/external-e2e/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ PROJECT_ROOT=$(git rev-parse --show-toplevel)
2020
DRIVER="test"
2121

2222
install_ginkgo () {
23-
apt update -y
24-
apt install -y golang-ginkgo-dev
23+
go install github.com/onsi/ginkgo/[email protected]
2524
}
2625

2726
setup_e2e_binaries() {

0 commit comments

Comments
 (0)