fix: buildx issue with provenance disabled
This commit is contained in:
parent
0b925df8b5
commit
0a9519228f
3
Makefile
3
Makefile
|
|
@ -143,17 +143,20 @@ container: smb
|
||||||
.PHONY: container-linux
|
.PHONY: container-linux
|
||||||
container-linux:
|
container-linux:
|
||||||
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/$(ARCH)" \
|
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/$(ARCH)" \
|
||||||
|
--provenance=false --sbom=false \
|
||||||
-t $(IMAGE_TAG)-linux-$(ARCH) --build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile .
|
-t $(IMAGE_TAG)-linux-$(ARCH) --build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile .
|
||||||
|
|
||||||
.PHONY: container-linux-armv7
|
.PHONY: container-linux-armv7
|
||||||
container-linux-armv7:
|
container-linux-armv7:
|
||||||
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/arm/v7" \
|
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/arm/v7" \
|
||||||
|
--provenance=false --sbom=false \
|
||||||
-t $(IMAGE_TAG)-linux-arm-v7 --build-arg ARCH=arm/v7 -f ./cmd/smbplugin/Dockerfile .
|
-t $(IMAGE_TAG)-linux-arm-v7 --build-arg ARCH=arm/v7 -f ./cmd/smbplugin/Dockerfile .
|
||||||
|
|
||||||
.PHONY: container-windows
|
.PHONY: container-windows
|
||||||
container-windows:
|
container-windows:
|
||||||
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="windows/$(ARCH)" \
|
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="windows/$(ARCH)" \
|
||||||
-t $(IMAGE_TAG)-windows-$(OSVERSION)-$(ARCH) --build-arg OSVERSION=$(OSVERSION) \
|
-t $(IMAGE_TAG)-windows-$(OSVERSION)-$(ARCH) --build-arg OSVERSION=$(OSVERSION) \
|
||||||
|
--provenance=false --sbom=false \
|
||||||
--build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile.Windows .
|
--build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile.Windows .
|
||||||
|
|
||||||
.PHONY: container-all
|
.PHONY: container-all
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Copyright 2019 The Kubernetes Authors.
|
# Copyright 2019 The Kubernetes Authors.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,7 @@ PROJECT_ROOT=$(git rev-parse --show-toplevel)
|
||||||
DRIVER="test"
|
DRIVER="test"
|
||||||
|
|
||||||
install_ginkgo () {
|
install_ginkgo () {
|
||||||
apt update -y
|
go install github.com/onsi/ginkgo/ginkgo@v1.14.0
|
||||||
apt install -y golang-ginkgo-dev
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_e2e_binaries() {
|
setup_e2e_binaries() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue