Skip to content

Commit 66fe910

Browse files
authored
Update docker-publish.yml
1 parent 4a13d4c commit 66fe910

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/docker-publish.yml

+9-11
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ jobs:
3939
# https://github.com/sigstore/cosign-installer
4040
- name: Install cosign
4141
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
4543

4644
- name: Set up QEMU
4745
uses: docker/setup-qemu-action@v3
@@ -83,18 +81,18 @@ jobs:
8381
platforms: linux/arm64,linux/amd64
8482
cache-from: type=gha
8583
cache-to: type=gha,mode=max
86-
84+
# TEMPORARILY DISABLED BECAUSE BROKEN
8785
# Sign the resulting Docker image digest except on PRs.
8886
# This will only write to the public Rekor transparency log when the Docker
8987
# repository is public to avoid leaking data. If you would like to publish
9088
# transparency data even for private images, pass --force to cosign below.
9189
# 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 }}
9896
# This step uses the identity token to provision an ephemeral certificate
9997
# 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

Comments
 (0)