Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions .github/workflows/build-images-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,16 @@ jobs:
DIRTY=false
DEFAULT_AUTHORINO_IMAGE=${{ inputs.relatedImageAuthorino }}
QUAY_IMAGE_EXPIRY=${{ inputs.quayImageExpiry }}
provenance: false
provenance: true
- name: Print image URL
run: |
echo "Image(s) pushed:"
echo "${{ steps.meta.outputs.tags }}"
- name: Install cosign
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # ratchet:sigstore/cosign-installer@v3
- name: Sign image with cosign
run: |
cosign sign --yes ${{ env.IMG_REGISTRY_HOST }}/${{ env.IMG_REGISTRY_ORG }}/${{ env.OPERATOR_NAME }}@${{ steps.build-image.outputs.digest }}

build-bundle:
name: Build and push bundle image
Expand Down Expand Up @@ -189,11 +194,16 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
build-args: QUAY_IMAGE_EXPIRY=${{ inputs.quayImageExpiry }}
provenance: false
provenance: true
- name: Print image URL
run: |
echo "Image(s) pushed:"
echo "${{ steps.meta.outputs.tags }}"
- name: Install cosign
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # ratchet:sigstore/cosign-installer@v3
- name: Sign image with cosign
run: |
cosign sign --yes ${{ env.IMG_REGISTRY_HOST }}/${{ env.IMG_REGISTRY_ORG }}/${{ env.OPERATOR_NAME }}-bundle@${{ steps.build-image.outputs.digest }}

build-catalog:
name: Build and push catalog image
Expand Down Expand Up @@ -238,8 +248,13 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
push: true
tags: ${{ steps.meta.outputs.tags }}
provenance: false
provenance: true
- name: Print image URL
run: |
echo "Image(s) pushed:"
echo "${{ steps.meta.outputs.tags }}"
- name: Install cosign
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # ratchet:sigstore/cosign-installer@v3
- name: Sign image with cosign
run: |
cosign sign --yes ${{ env.IMG_REGISTRY_HOST }}/${{ env.IMG_REGISTRY_ORG }}/${{ env.OPERATOR_NAME }}-catalog@${{ steps.build-image.outputs.digest }}
3 changes: 3 additions & 0 deletions .github/workflows/build-images-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
build-branches:
name: Calls build-images-base workflow
permissions:
contents: read
id-token: write
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-images-for-tag-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
build-release:
name: Calls build-images-base workflow
needs: set-vars
permissions:
contents: read
id-token: write
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-images-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
build-main:
name: Calls build-images-base workflow
permissions:
contents: read
id-token: write
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-images-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
build-nightly:
needs: [release-date, authorino-latest-digest]
name: Calls build-images-base workflow
permissions:
contents: read
id-token: write
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
Expand Down
Loading