Skip to content

Commit

Permalink
chore(docker): enable sbom and cache
Browse files Browse the repository at this point in the history
Update the Docker publishing Action to enable SBOM and provenance
attestations to the published images, as well as enabling caching of
layers across runs.
  • Loading branch information
terinjokes committed May 21, 2024
1 parent 3ab8e94 commit d1a7f96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@ jobs:
with:
file: ./cmd/controller/Dockerfile
platforms: linux/amd64, linux/arm64
sbom: true
tags: ${{ steps.docker-meta.outputs.tags }}
labels: ${{ steps.docker-meta.outputs.labels }}
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit d1a7f96

Please sign in to comment.