Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch authored Jul 23, 2024
1 parent 0a482dc commit e90e45b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
uses: sigstore/cosign-installer@main

- name: Sign the container image
env:
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
run: cosign sign --yes ghcr.io/aneisch/${{ env.IMAGE_NAME }}@${{ steps.push-step.outputs.digest }}

Multiarch:
Expand All @@ -83,6 +85,7 @@ jobs:

- name: Build and push
uses: docker/build-push-action@master
id: push-step
with:
context: .
file: ./Dockerfile
Expand All @@ -96,4 +99,6 @@ jobs:
uses: sigstore/cosign-installer@main

- name: Sign the container image
env:
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
run: cosign sign --yes ghcr.io/aneisch/${{ env.IMAGE_NAME }}@${{ steps.push-step.outputs.digest }}

0 comments on commit e90e45b

Please sign in to comment.