Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13e99e0

Browse files
committed
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/sbomUpdated Docker build scripts to use BuildKit for provenance and SBOM support: docs.docker.com/build/metadata/attestationsConfigured Docker daemon to support the Containerd snapshotter feature to improve performance: docs.docker.com/engine/storage/containerd
1 parentf111de2 commit13e99e0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ jobs:
10181018
needs:
10191019
-changes
10201020
-build-dylib
1021-
if:github.ref == 'refs/heads/main' &&needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
1021+
if:needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
10221022
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04' }}
10231023
permissions:
10241024
# Necessary to push docker images to ghcr.io.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"registry-mirrors": ["https://mirror.gcr.io"],
33
"features": {
4-
"containerd-snapshotter': true
4+
"containerd-snapshotter":true
55
}
66
}

‎scripts/build_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ docker buildx build \
140140
--platform"$arch" \
141141
--build-arg"BASE_IMAGE=$base_image" \
142142
--build-arg"CODER_VERSION=$version" \
143-
--provenencetrue \
143+
--provenancetrue \
144144
--sbomtrue \
145145
--no-cache \
146146
--tag"$image_tag" \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp