Skip to content

Commit

Permalink
Enable Github docker images attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
hbenali committed Nov 26, 2024
1 parent ad126de commit a14fba5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:

build-jdk-images:
name: "Build JDK Images"
permissions:
id-token: write
packages: write
contents: read
attestations: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -67,6 +72,7 @@ jobs:
dockerFileContext: ${{ matrix.context }}
dockerImageTag: ${{ matrix.imageTag }}
signImage: true
attestImage: true
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit a14fba5

Please sign in to comment.