8000 chore: enable SBOM attestation for image builds by matifali · Pull Request #16852 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: enable SBOM attestation for image builds #16852

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 3 commits into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore: enable SBOM and containerd support in Docker builds
Added SBOM (Software Bill of Materials) generation during Docker build to enhance traceability. Refer to Docker documentation on SBOM: docs.docker.com/build/metadata/attestations/sbom
Updated Docker build scripts to use BuildKit for provenance and SBOM support: docs.docker.com/build/metadata/attestations
Configured Docker daemon to support the Containerd snapshotter feature to improve performance: docs.docker.com/engine/storage/containerd
  • Loading branch information
matifali committed Mar 7, 2025
commit 378fdf83f647210a042a750ae49a0d43ecd809ed
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ jobs:
AC_CERTIFICATE_PASSWORD_FILE: /tmp/apple_cert_password.txt

- name: Upload build artifacts
if: ${{ github.repository_owner == 'coder' && github.ref == 'refs/heads/main' }}
if: ${{ github.repository_owner == 'coder' }}
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: dylibs
Expand Down
2 changes: 1 addition & 1 deletion dogfood/contents/files/etc/docker/daemon.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"registry-mirrors": ["https://mirror.gcr.io"],
"features": {
"containerd-snapshotter': true
"containerd-snapshotter": true
}
}
2 changes: 1 addition & 1 deletion scripts/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ docker buildx build \
--platform "$arch" \
--build-arg "BASE_IMAGE=$base_image" \
--build-arg "CODER_VERSION=$version" \
--provenence true \
--provenance true \
--sbom true \
--no-cache \
--tag "$image_tag" \
Expand Down
Loading
0