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
|
||||
container-linux:
|
||||
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 .
|
||||
|
||||
.PHONY: container-linux-armv7
|
||||
container-linux-armv7:
|
||||
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 .
|
||||
|
||||
.PHONY: container-windows
|
||||
container-windows:
|
||||
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="windows/$(ARCH)" \
|
||||
-t $(IMAGE_TAG)-windows-$(OSVERSION)-$(ARCH) --build-arg OSVERSION=$(OSVERSION) \
|
||||
--provenance=false --sbom=false \
|
||||
--build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile.Windows .
|
||||
|
||||
.PHONY: container-all
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Copyright 2019 The Kubernetes Authors.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -20,8 +20,7 @@ PROJECT_ROOT=$(git rev-parse --show-toplevel)
|
|||
DRIVER="test"
|
||||
|
||||
install_ginkgo () {
|
||||
apt update -y
|
||||
apt install -y golang-ginkgo-dev
|
||||
go install github.com/onsi/ginkgo/ginkgo@v1.14.0
|
||||
}
|
||||
|
||||
setup_e2e_binaries() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue