Skip to content

Commit 365ce67

Browse files
authored
chore: add provenance attestation to docker-base image (coder#14999)
Enables [build attestation](https://docs.docker.com/build/metadata/attestations/slsa-provenance/) for the docker-base image. Contributes to coder#14879 and coder/internal#89 As an experiment, we are only doing it with the coder-base image for now.
1 parent f1cb3a5 commit 365ce67

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/docker-base.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
context: base-build-context
6767
file: scripts/Dockerfile.base
6868
platforms: linux/amd64,linux/arm64,linux/arm/v7
69+
provenance: true
6970
pull: true
7071
no-cache: true
7172
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/release.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ jobs:
263263
context: base-build-context
264264
file: scripts/Dockerfile.base
265265
platforms: linux/amd64,linux/arm64,linux/arm/v7
266+
provenance: true
266267
pull: true
267268
no-cache: true
268269
push: true

0 commit comments

Comments
 (0)