Skip to content

Commit

Permalink
GitHub: Nuke broken sigstore cosign container image signing
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Oct 19, 2024
1 parent 988b916 commit d44f810
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install cosign
if: ${{ github.event_name != 'pull_request' }}
uses: sigstore/[email protected]
with:
cosign-release: "v2.2.4"

# Set up BuildKit Docker container builder to be able to build multi-platform images and export cache
- name: Set up Docker Buildx
uses: docker/[email protected]
Expand Down Expand Up @@ -63,14 +57,3 @@ jobs:
- name: Push container image
if: ${{ github.event_name != 'pull_request' }}
run: docker push ghcr.io/vorburger/dotfiles-fedora

# Sign the resulting Docker image digest (see https://github.com/sigstore/cosign)
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 comments on commit d44f810

Please sign in to comment.