|
39 | 39 | # https://github.com/sigstore/cosign-installer
|
40 | 40 | - name: Install cosign
|
41 | 41 | if: github.event_name != 'pull_request'
|
42 |
| - uses: sigstore/cosign-installer@v3 #v3.1.1 |
43 |
| - with: |
44 |
| - cosign-release: 'v2.1.1' |
| 42 | + uses: sigstore/cosign-installer@v3 |
45 | 43 |
|
46 | 44 | - name: Set up QEMU
|
47 | 45 | uses: docker/setup-qemu-action@v3
|
@@ -83,18 +81,18 @@ jobs:
|
83 | 81 | platforms: linux/arm64,linux/amd64
|
84 | 82 | cache-from: type=gha
|
85 | 83 | cache-to: type=gha,mode=max
|
86 |
| - |
| 84 | + # TEMPORARILY DISABLED BECAUSE BROKEN |
87 | 85 | # Sign the resulting Docker image digest except on PRs.
|
88 | 86 | # This will only write to the public Rekor transparency log when the Docker
|
89 | 87 | # repository is public to avoid leaking data. If you would like to publish
|
90 | 88 | # transparency data even for private images, pass --force to cosign below.
|
91 | 89 | # https://github.com/sigstore/cosign
|
92 |
| - - name: Sign the published Docker image |
93 |
| - if: ${{ github.event_name != 'pull_request' }} |
94 |
| - env: |
95 |
| - # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable |
96 |
| - TAGS: ${{ steps.meta.outputs.tags }} |
97 |
| - DIGEST: ${{ steps.build-and-push.outputs.digest }} |
| 90 | + #- name: Sign the published Docker image |
| 91 | + # if: ${{ github.event_name != 'pull_request' }} |
| 92 | + # env: |
| 93 | + # # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable |
| 94 | + # TAGS: ${{ steps.meta.outputs.tags }} |
| 95 | + # DIGEST: ${{ steps.build-and-push.outputs.digest }} |
98 | 96 | # This step uses the identity token to provision an ephemeral certificate
|
99 | 97 | # against the sigstore community Fulcio instance.
|
100 |
| - run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST} |
| 98 | + # run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST} |
0 commit comments