Skip to content

revert: "chore: enable SBOM attestation for image builds" #16868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ jobs:
file: scripts/Dockerfile.base
platforms: linux/amd64,linux/arm64,linux/arm/v7
provenance: true
sbom: true
pull: true
no-cache: true
push: true
Expand Down
5 changes: 1 addition & 4 deletions dogfood/contents/files/etc/docker/daemon.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"registry-mirrors": ["https://mirror.gcr.io"],
"features": {
"containerd-snapshotter": true
}
"registry-mirrors": ["https://mirror.gcr.io"]
}
4 changes: 1 addition & 3 deletions scripts/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,10 @@ fi

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

docker buildx build \
docker build \
--platform "$arch" \
--build-arg "BASE_IMAGE=$base_image" \
--build-arg "CODER_VERSION=$version" \
--provenance true \
--sbom true \
--no-cache \
--tag "$image_tag" \
-f Dockerfile \
Expand Down
Loading