Skip to content

Commit e817713

Browse files
authored
revert: "chore: enable SBOM attestation for image builds" (#16868)
Reverts #16852 The CI failed to create the multi-arch manifest. https://github.com/coder/coder/actions/runs/13773079355/job/38516182819#step:18:341 I personally think we should move to a [multi-arch Dockerfile](https://docs.docker.com/build/building/multi-platform/#cross-compilation) instead of creating the manifest manually.
1 parent 05ebece commit e817713

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/release.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ jobs:
361361
file: scripts/Dockerfile.base
362362
platforms: linux/amd64,linux/arm64,linux/arm/v7
363363
provenance: true
364-
sbom: true
365364
pull: true
366365
no-cache: true
367366
push: true
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"registry-mirrors": ["https://mirror.gcr.io"],
3-
"features": {
4-
"containerd-snapshotter": true
5-
}
2+
"registry-mirrors": ["https://mirror.gcr.io"]
63
}

scripts/build_docker.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,10 @@ fi
136136

137137
log "--- Building Docker image for $arch ($image_tag)"
138138

139-
docker buildx build \
139+
docker build \
140140
--platform "$arch" \
141141
--build-arg "BASE_IMAGE=$base_image" \
142142
--build-arg "CODER_VERSION=$version" \
143-
--provenance true \
144-
--sbom true \
145143
--no-cache \
146144
--tag "$image_tag" \
147145
-f Dockerfile \

0 commit comments

Comments
 (0)