Skip to content

Commit

Permalink
continue on error, -y for cosign
Browse files Browse the repository at this point in the history
  • Loading branch information
some-natalie committed Aug 4, 2023
1 parent 6778713 commit 9232a61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
strategy:
matrix:
os: [ubi8, ubi9]
continue-on-error: true

steps:
- name: Checkout
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
- name: Sign the published Docker image
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign ghcr.io/${{ github.repository }}/${{ matrix.os }}@${{ env.IMAGE_DIGEST }}
run: cosign sign -y ghcr.io/${{ github.repository }}/${{ matrix.os }}@${{ env.IMAGE_DIGEST }}

build-ubuntu:
runs-on: ubuntu-latest # use the GitHub-hosted runner to build the image
Expand All @@ -87,6 +88,7 @@ jobs:
strategy:
matrix:
os: [rootless-ubuntu-jammy]
continue-on-error: true

steps:
- name: Checkout the repo
Expand Down Expand Up @@ -148,7 +150,7 @@ jobs:
- name: Sign the published Docker image
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign ghcr.io/${{ github.repository }}/${{ matrix.os }}@${{ env.IMAGE_DIGEST }}
run: cosign sign -y ghcr.io/${{ github.repository }}/${{ matrix.os }}@${{ env.IMAGE_DIGEST }}

- name: Push the signed image
run: docker push ghcr.io/${{ github.repository }}/${{ matrix.os }}:${{ env.SHA_SHORT }}

0 comments on commit 9232a61

Please sign in to comment.