From c4b5927646dab9d5bfdfd70d98dd6c9a706ba5bd Mon Sep 17 00:00:00 2001 From: qoijjj <129108030+qoijjj@users.noreply.github.com> Date: Mon, 1 Jan 2024 16:57:54 -0800 Subject: [PATCH] Fix new image verification step for wayblue images --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76fa040..d3113fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,10 +133,19 @@ jobs: echo "BASE_IMAGE_NAME=$(echo $BASE_IMAGE | sed 's/.*\/.*\///')" >> $GITHUB_ENV - name: Verify base image + if: ${{ ! contains(IMAGE_NAME, 'wayblue') }} uses: EyeCantCU/cosign-action/verify@v0.2.1 with: containers: ${{ env.BASE_IMAGE_NAME }}:${{ env.IMAGE_MAJOR_VERSION }} + - name: Verify base image + if: ${{ contains(IMAGE_NAME, 'wayblue') }} + uses: EyeCantCU/cosign-action/verify@v0.2.1 + with: + containers: ${{ env.BASE_IMAGE_NAME }}:${{ env.IMAGE_MAJOR_VERSION }} + registry: 'ghcr.io/wayblueorg' + pubkey: 'https://raw.githubusercontent.com/wayblueorg/wayblue/live/cosign.pub' + - name: Get current version id: labels run: |