Skip to content

Commit

Permalink
Merge pull request #171 from Kong/feat/slsa
Browse files Browse the repository at this point in the history
ci(.github)[SEC-1084]: fix image digest for provenance
  • Loading branch information
saisatishkarra authored Apr 26, 2024
2 parents f061d8e + a276777 commit 05dc4d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
IMAGE_TAGS: ${{ needs.build-images.outputs.image_tags }}
outputs:
image_name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
image_manifest_sha: ${{ steps.image_manifest_metadata.outputs.image_manifest_sha }}
image_manifest_sha: ${{ steps.image_manifest_metadata.outputs.sha }}
notary_repository: ${{ env.NOTARY_REPOSITORY }}
steps:

Expand Down Expand Up @@ -221,9 +221,9 @@ jobs:
with:
image: ${{ needs.release-images.outputs.image_name }} # Image repository without tag. Eg: kong/insomnia-mockbins
digest: ${{ needs.release-images.outputs.image_manifest_sha }} # Image manifest digest for the published docker image/TAR
registry-username: ${{ github.actor }}
#provenance-repository: ${{ needs.release-images.outputs.notary_repository }}
secrets:
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
# provenance-registry-username: ${{ secrets.GHA_DOCKERHUB_PUSH_USER }}
# provenance-registry-password: ${{ secrets.GHA_KONG_ORG_DOCKERHUB_PUSH_TOKEN }}

0 comments on commit 05dc4d0

Please sign in to comment.