Skip to content

Commit efb1a87

Browse files
authored
Update docker-publish.yml
1 parent 6c7f383 commit efb1a87

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/docker-publish.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ jobs:
3232
packages: write
3333
# This is used to complete the identity challenge
3434
# with sigstore/fulcio when running outside of PRs.
35-
id-token: write
35+
# id-token: write
3636

3737
steps:
3838
- name: Checkout repository
3939
uses: actions/checkout@v3
4040

4141
# Install the cosign tool except on PR
4242
# 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'
4848

4949

5050
# Workaround: https://github.com/docker/build-push-action/issues/461
@@ -88,15 +88,15 @@ jobs:
8888
UBUNTU_VERSION=${{ matrix.ubuntu }}
8989
9090
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

Comments
 (0)