Skip to content

Commit c15f967

Browse files
Update docker-publish.yml
1 parent 8e895a7 commit c15f967

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
@@ -37,15 +37,6 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v3
3939

40-
# Install the cosign tool except on PR
41-
# https://github.com/sigstore/cosign-installer
42-
- name: Install cosign
43-
if: github.event_name != 'pull_request'
44-
uses: sigstore/cosign-installer@1e95c1de343b5b0c23352d6417ee3e48d5bcd422
45-
with:
46-
cosign-release: 'v1.4.0'
47-
48-
4940
# Workaround: https://github.com/docker/build-push-action/issues/461
5041
- name: Setup Docker buildx
5142
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
@@ -78,16 +69,3 @@ jobs:
7869
push: ${{ github.event_name != 'pull_request' }}
7970
tags: ${{ steps.meta.outputs.tags }}
8071
labels: ${{ steps.meta.outputs.labels }}
81-
82-
# Sign the resulting Docker image digest except on PRs.
83-
# This will only write to the public Rekor transparency log when the Docker
84-
# repository is public to avoid leaking data. If you would like to publish
85-
# transparency data even for private images, pass --force to cosign below.
86-
# https://github.com/sigstore/cosign
87-
- name: Sign the published Docker image
88-
if: ${{ github.event_name != 'pull_request' }}
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.
93-
run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }} --force

0 commit comments

Comments
 (0)