-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #231 from salasberryfin/revert-slsa-provenance
chore: disable slsa provenance in release workflow
- Loading branch information
Showing
1 changed file
with
1 addition
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,40 +101,6 @@ jobs: | |
image=$(echo ${{ matrix.images.image }} | base64 -d | base64 -d) | ||
cosign verify ${image} --certificate-identity=https://github.com/rancher-sandbox/rancher-turtles/.github/workflows/release.yaml@refs/tags/${{ env.TAG }} --certificate-oidc-issuer=https://token.actions.githubusercontent.com | ||
ghcr-provenance: | ||
needs: [ghcr-sign] | ||
permissions: | ||
actions: read | ||
id-token: write | ||
packages: write | ||
strategy: | ||
matrix: | ||
images: [ | ||
{ | ||
"image":"${{ needs.build-ghcr.outputs.multiarch_image }}", | ||
"digest":"${{ needs.build-ghcr.outputs.multiarch_digest }}" | ||
}, | ||
{ | ||
"image":"${{ needs.build-ghcr.outputs.amd64_image }}", | ||
"digest":"${{ needs.build-ghcr.outputs.amd64_digest }}" | ||
}, | ||
{ | ||
"image":"${{ needs.build-ghcr.outputs.arm64_image }}", | ||
"digest":"${{ needs.build-ghcr.outputs.arm64_digest }}" | ||
}, | ||
{ | ||
"image":"${{ needs.build-ghcr.outputs.s390x_image }}", | ||
"digest":"${{ needs.build-ghcr.outputs.s390x_digest }}" | ||
} | ||
] | ||
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] | ||
with: | ||
image: $(echo ${{ matrix.images.image }} | base64 -d | base64 -d) | ||
digest: $(echo ${{ matrix.images.digest }} | base64 -d | base64 -d) | ||
secrets: | ||
registry-username: ${{ github.actor }} | ||
registry-password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
build-prod: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
|
@@ -227,43 +193,9 @@ jobs: | |
image=$(echo ${{ matrix.images.image }} | base64 -d | base64 -d) | ||
cosign verify ${image} --certificate-identity=https://github.com/rancher-sandbox/rancher-turtles/.github/workflows/release.yaml@refs/tags/${{ env.TAG }} --certificate-oidc-issuer=https://token.actions.githubusercontent.com | ||
prod-provenance: | ||
needs: [prod-sign] | ||
permissions: | ||
actions: read | ||
id-token: write | ||
packages: write | ||
strategy: | ||
matrix: | ||
images: [ | ||
{ | ||
"image":"${{ needs.build-prod.outputs.multiarch_image }}", | ||
"digest":"${{ needs.build-prod.outputs.multiarch_digest }}" | ||
}, | ||
{ | ||
"image":"${{ needs.build-prod.outputs.amd64_image }}", | ||
"digest":"${{ needs.build-prod.outputs.amd64_digest }}" | ||
}, | ||
{ | ||
"image":"${{ needs.build-prod.outputs.arm64_image }}", | ||
"digest":"${{ needs.build-prod.outputs.arm64_digest }}" | ||
}, | ||
{ | ||
"image":"${{ needs.build-prod.outputs.s390x_image }}", | ||
"digest":"${{ needs.build-prod.outputs.s390x_digest }}" | ||
} | ||
] | ||
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] | ||
with: | ||
image: $(echo ${{ matrix.images.image }} | base64 -d | base64 -d) | ||
digest: $(echo ${{ matrix.images.digest }} | base64 -d | base64 -d) | ||
secrets: | ||
registry-username: ${{ secrets.REGISTRY_USERNAME }} | ||
registry-password: ${{ secrets.REGISTRY_PASSWORD }} | ||
|
||
release: | ||
name: Create helm release | ||
needs: [prod-provenance] | ||
needs: [prod-sign] | ||
runs-on: ubuntu-latest | ||
env: | ||
TAG: ${{ github.ref_name }} | ||
|