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:
Muhammad Atif Ali
2024-11-14 19:16:33 -08:00
committed by GitHub
parent f1cb3a5b11
commit 365ce67f21
2 changed files with 2 additions and 0 deletions

View File

@ -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' }}

View File

@ -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