mirror of
https://github.com/coder/coder.git
synced 2025-03-15 19:19:58 +00:00
chore: add provenance attestation to docker-base image (#14999)
Enables [build attestation](https://docs.docker.com/build/metadata/attestations/slsa-provenance/) for the docker-base image. Contributes to #14879 and coder/internal#89 As an experiment, we are only doing it with the coder-base image for now.
This commit is contained in:
committed by
GitHub
parent
f1cb3a5b11
commit
365ce67f21
1
.github/workflows/docker-base.yaml
vendored
1
.github/workflows/docker-base.yaml
vendored
@ -66,6 +66,7 @@ jobs:
|
||||
context: base-build-context
|
||||
file: scripts/Dockerfile.base
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
provenance: true
|
||||
pull: true
|
||||
no-cache: true
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
|
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@ -263,6 +263,7 @@ jobs:
|
||||
context: base-build-context
|
||||
file: scripts/Dockerfile.base
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
provenance: true
|
||||
pull: true
|
||||
no-cache: true
|
||||
push: true
|
||||
|
Reference in New Issue
Block a user