Skip to content

Commit

Permalink
Remove cosign
Browse files Browse the repository at this point in the history
  • Loading branch information
ysdragon committed Dec 10, 2024
1 parent 17bb39c commit 3536ea7
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/[email protected]
with:
cosign-release: 'v2.4.1'

- name: Set up QEMU
uses: docker/[email protected]

Expand Down Expand Up @@ -50,12 +44,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=target
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

cache-to: type=gha,mode=max

0 comments on commit 3536ea7

Please sign in to comment.