@@ -32,19 +32,19 @@ jobs:
32
32
packages : write
33
33
# This is used to complete the identity challenge
34
34
# with sigstore/fulcio when running outside of PRs.
35
- id-token : write
35
+ # id-token: write
36
36
37
37
steps :
38
38
- name : Checkout repository
39
39
uses : actions/checkout@v3
40
40
41
41
# Install the cosign tool except on PR
42
42
# https://github.com/sigstore/cosign-installer
43
- - name : Install cosign
44
- if : github.event_name != 'pull_request'
45
- uses : sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 # v2.6.0
46
- with :
47
- cosign-release : ' v1.13.1'
43
+ # - name: Install cosign
44
+ # if: github.event_name != 'pull_request'
45
+ # uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
46
+ # with:
47
+ # cosign-release: 'v1.13.1'
48
48
49
49
50
50
# Workaround: https://github.com/docker/build-push-action/issues/461
@@ -88,15 +88,15 @@ jobs:
88
88
UBUNTU_VERSION=${{ matrix.ubuntu }}
89
89
90
90
91
- # Sign the resulting Docker image digest except on PRs.
92
- # This will only write to the public Rekor transparency log when the Docker
93
- # repository is public to avoid leaking data. If you would like to publish
94
- # transparency data even for private images, pass --force to cosign below.
95
- # https://github.com/sigstore/cosign
96
- - name : Sign the published Docker image
97
- if : ${{ github.event_name != 'pull_request' }}
98
- env :
99
- COSIGN_EXPERIMENTAL : " true"
100
- # This step uses the identity token to provision an ephemeral certificate
101
- # against the sigstore community Fulcio instance.
102
- run : echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:py${{ matrix.python }}-cuda${{ matrix.cuda }}-cudnn${{ matrix.cudnn }}-ubuntu${{ matrix.ubuntu }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
91
+ # # Sign the resulting Docker image digest except on PRs.
92
+ # # This will only write to the public Rekor transparency log when the Docker
93
+ # # repository is public to avoid leaking data. If you would like to publish
94
+ # # transparency data even for private images, pass --force to cosign below.
95
+ # # https://github.com/sigstore/cosign
96
+ # - name: Sign the published Docker image
97
+ # if: ${{ github.event_name != 'pull_request' }}
98
+ # env:
99
+ # COSIGN_EXPERIMENTAL: "true"
100
+ # # This step uses the identity token to provision an ephemeral certificate
101
+ # # against the sigstore community Fulcio instance.
102
+ # run: echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:py${{ matrix.python }}-cuda${{ matrix.cuda }}-cudnn${{ matrix.cudnn }}-ubuntu${{ matrix.ubuntu }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
0 commit comments