chore(ci): expect signing by default

This commit is contained in:
Benjamin Sherman 2024-04-12 17:02:33 -05:00
parent 9c67a9c024
commit 53869f2cbf
No known key found for this signature in database
GPG key ID: 24E3D151565CA98B

View file

@ -138,14 +138,12 @@ jobs:
# Sign container # Sign container
#- uses: sigstore/cosign-installer@v3.4.0 - name: Sign container image
# if: github.event_name != 'pull_request' uses: sigstore/cosign-installer@v3.4.0
if: github.event_name != 'pull_request'
#- name: Sign container image run: |
# if: github.event_name != 'pull_request' cosign sign -y --key env://COSIGN_PRIVATE_KEY ${{ steps.registry_case.outputs.lowercase }}/${{ steps.build_image.outputs.image }}@${TAGS}
# run: | env:
# cosign sign -y --key env://COSIGN_PRIVATE_KEY ${{ steps.registry_case.outputs.lowercase }}/${{ steps.build_image.outputs.image }}@${TAGS} TAGS: ${{ steps.push.outputs.digest }}
# env: COSIGN_EXPERIMENTAL: false
# TAGS: ${{ steps.push.outputs.digest }} COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
# COSIGN_EXPERIMENTAL: false
# COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}