Skip to content

Commit 892dfa4

Browse files
author
Jon
committed
Remove docker image signing as its unneccessary and broken
1 parent d71c732 commit 892dfa4

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

.github/workflows/publish-docker.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ jobs:
3333
- name: Checkout repository
3434
uses: actions/checkout@v2
3535

36-
# Install the cosign tool except on PR
37-
# https://github.com/sigstore/cosign-installer
38-
- name: Install cosign
39-
if: github.event_name != 'pull_request'
40-
uses: sigstore/cosign-installer@1e95c1de343b5b0c23352d6417ee3e48d5bcd422
41-
with:
42-
cosign-release: 'v1.4.0'
43-
44-
4536
# Workaround: https://github.com/docker/build-push-action/issues/461
4637
- name: Setup Docker buildx
4738
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
@@ -74,17 +65,3 @@ jobs:
7465
push: ${{ github.event_name != 'pull_request' }}
7566
tags: ${{ steps.meta.outputs.tags }}
7667
labels: ${{ steps.meta.outputs.labels }}
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-
COSIGN_EXPERIMENTAL: "true"
87-
# This step uses the identity token to provision an ephemeral certificate
88-
# against the sigstore community Fulcio instance.
89-
run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
90-

0 commit comments

Comments
 (0)