Skip to content

Commit d4e4c90

Browse files
committed
chore: drop buildx sbom options so oci images are reproducible
Drop sbom generation for oci images. Signed-off-by: Noel Georgi <git@frezbo.dev>
1 parent d3457c9 commit d4e4c90

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED BY KRES, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2026-05-28T15:40:14Z by kres 80fec4e.
3+
# Generated on 2026-06-02T15:15:03Z by kres d3457c9-dirty.
44

55
# common variables
66

@@ -56,6 +56,7 @@ WITH_BUILD_DEBUG ?=
5656
BUILDKIT_MULTI_PLATFORM ?=
5757
COMMON_ARGS = --file=Dockerfile
5858
COMMON_ARGS += --provenance=false
59+
COMMON_ARGS += --sbom=false
5960
COMMON_ARGS += --progress=$(PROGRESS)
6061
COMMON_ARGS += --platform=$(PLATFORM)
6162
COMMON_ARGS += --build-arg=BUILDKIT_MULTI_PLATFORM=$(BUILDKIT_MULTI_PLATFORM)

internal/project/common/docker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func (docker *Docker) CompileMakefile(output *makefile.Output) error {
4646

4747
buildArgs := makefile.RecursiveVariable("COMMON_ARGS", "--file=Dockerfile").
4848
Push("--provenance=false").
49+
Push("--sbom=false").
4950
Push("--progress=$(PROGRESS)").
5051
Push("--platform=$(PLATFORM)").
5152
Push("--build-arg=BUILDKIT_MULTI_PLATFORM=$(BUILDKIT_MULTI_PLATFORM)").

internal/project/pkgfile/build.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ func (pkgfile *Build) CompileMakefile(output *makefile.Output) error {
9494

9595
commonArgs := makefile.RecursiveVariable("COMMON_ARGS", "--file=Pkgfile").
9696
Push("--provenance=false").
97+
Push("--sbom=false").
9798
Push("--progress=$(PROGRESS)").
9899
Push("--platform=$(PLATFORM)").
99100
Push("$(BUILD_ARGS)")

0 commit comments

Comments
 (0)