Skip to content

Commit 90f8af8

Browse files
Merge pull request #28 from PythonGermany/PythonGermany-patch-1
Remove cosign from docker ci
2 parents b6a0f13 + 17c55e3 commit 90f8af8

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/docker-ci.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,7 @@ jobs:
3636
steps:
3737
- name: Checkout repository
3838
uses: actions/checkout@v4
39-
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@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 #v3.5.0
45-
with:
46-
cosign-release: 'v2.2.4'
47-
39+
4840
# Set up BuildKit Docker container builder to be able to build
4941
# multi-platform images and export cache
5042
# https://github.com/docker/setup-buildx-action
@@ -81,18 +73,3 @@ jobs:
8173
labels: ${{ steps.meta.outputs.labels }}
8274
cache-from: type=gha
8375
cache-to: type=gha,mode=max
84-
85-
# Sign the resulting Docker image digest except on PRs.
86-
# This will only write to the public Rekor transparency log when the Docker
87-
# repository is public to avoid leaking data. If you would like to publish
88-
# transparency data even for private images, pass --force to cosign below.
89-
# https://github.com/sigstore/cosign
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: docker.io/pythongermany/webserv:latest
95-
DIGEST: ${{ steps.build-and-push.outputs.digest }}
96-
# This step uses the identity token to provision an ephemeral certificate
97-
# against the sigstore community Fulcio instance.
98-
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 commit comments

Comments
 (0)