From 9232a6148d9f64807f0ce3d1000ca109373b6495 Mon Sep 17 00:00:00 2001 From: Natalie Somersall Date: Fri, 4 Aug 2023 11:24:22 -0600 Subject: [PATCH] continue on error, -y for cosign --- .github/workflows/build-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 9615c6c..74d9e11 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -16,6 +16,7 @@ jobs: strategy: matrix: os: [ubi8, ubi9] + continue-on-error: true steps: - name: Checkout @@ -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 @@ -87,6 +88,7 @@ jobs: strategy: matrix: os: [rootless-ubuntu-jammy] + continue-on-error: true steps: - name: Checkout the repo @@ -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 }}