Skip to content

Commit 66355c1

Browse files
committed
action/docker: remove sign published
Signed-off-by: Avelino <[email protected]>
1 parent ffa824f commit 66355c1

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/docker-publish.yml

-15
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,3 @@ jobs:
7474
labels: ${{ steps.meta.outputs.labels }}
7575
cache-from: type=gha
7676
cache-to: type=gha,mode=max
77-
78-
# Sign the resulting Docker image digest except on PRs.
79-
# This will only write to the public Rekor transparency log when the Docker
80-
# repository is public to avoid leaking data. If you would like to publish
81-
# transparency data even for private images, pass --force to cosign below.
82-
# https://github.com/sigstore/cosign
83-
- name: Sign the published Docker image
84-
if: ${{ github.event_name != 'pull_request' }}
85-
env:
86-
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
87-
TAGS: ${{ steps.meta.outputs.tags }}
88-
DIGEST: ${{ steps.build-and-push.outputs.digest }}
89-
# This step uses the identity token to provision an ephemeral certificate
90-
# against the sigstore community Fulcio instance.
91-
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 commit comments

Comments
 (0)