Skip to content

Commit 72e915e

Browse files
authored
Remove cosign steps from docker-publish.yml
Removed cosign installation and signing steps from Docker publish workflow.
1 parent 449d137 commit 72e915e

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ jobs:
3838
- name: Checkout repository
3939
uses: actions/checkout@v2
4040

41-
# Install the cosign tool except on PR
42-
# https://github.com/sigstore/cosign-installer
43-
- name: Install cosign
44-
if: github.event_name != 'pull_request'
45-
uses: sigstore/cosign-installer@1e95c1de343b5b0c23352d6417ee3e48d5bcd422
46-
4741
# Workaround: https://github.com/docker/build-push-action/issues/461
4842
- name: Setup Docker buildx
4943
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
@@ -76,19 +70,3 @@ jobs:
7670
push: ${{ github.event_name != 'pull_request' }}
7771
tags: ${{ steps.meta.outputs.tags }}
7872
labels: ${{ steps.meta.outputs.labels }}
79-
80-
# Sign the resulting Docker image digest except on PRs and private repos
81-
# The keyless signing process records signatures on the Rekor public
82-
# transparency log, so signing is disabled for private repos by default
83-
# to avoid leaking private data. If you wish to sign things anyways,
84-
# then this check can be removed and --force can be added to the cosign
85-
# command below.
86-
# https://github.com/sigstore/cosign
87-
- name: Sign the published Docker image
88-
if: ${{ github.event_name != 'pull_request' && !github.event.repository.private }}
89-
env:
90-
COSIGN_EXPERIMENTAL: "true"
91-
# This step uses the identity token to provision an ephemeral certificate
92-
# against the sigstore community Fulcio instance, and records it to the
93-
# sigstore community Rekor transparency log.
94-
run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}

0 commit comments

Comments
 (0)