diff --git a/.github/workflows/release-post-merge.yml b/.github/workflows/release-post-merge.yml index bc41405d22..167ddd3909 100644 --- a/.github/workflows/release-post-merge.yml +++ b/.github/workflows/release-post-merge.yml @@ -177,6 +177,7 @@ jobs: PKCS11_URI: ${{ secrets.PKCS11_URI }} GRS_USERNAME: ${{ secrets.GRS_USERNAME }} GRS_PASSWORD: ${{ secrets.GRS_PASSWORD }} + IMAGE_REPOSITORY: ${{ steps.tag.outputs.repo }} run: | make sign IMG="${{ env.IMAGE_REPOSITORY }}:${{ steps.tag.outputs.version }}" SIGNATURE_REPO=${{ env.IMAGE_REPOSITORY }} make sign IMG="quay.io/${{ env.IMAGE_REPOSITORY }}:${{ steps.tag.outputs.version }}" SIGNATURE_REPO=${{ env.IMAGE_REPOSITORY }} @@ -189,6 +190,7 @@ jobs: PKCS11_URI: ${{ secrets.PKCS11_URI }} GRS_USERNAME: ${{ secrets.GRS_USERNAME }} GRS_PASSWORD: ${{ secrets.GRS_PASSWORD }} + IMAGE_REPOSITORY: ${{ steps.tag.outputs.repo }} run: | make verify IMG="${{ env.IMAGE_REPOSITORY }}:${{ steps.tag.outputs.version }}" SIGNATURE_REPO=${{ env.IMAGE_REPOSITORY }} make verify IMG="quay.io/${{ env.IMAGE_REPOSITORY }}:${{ steps.tag.outputs.version }}" SIGNATURE_REPO=${{ env.IMAGE_REPOSITORY }} diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 763aecea56..d23384f02b 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -37,5 +37,6 @@ jobs: needs: - tag-release uses: ./.github/workflows/release-post-merge.yml + secrets: inherit with: tag: ${{ needs.tag-release.outputs.tag }}