diff --git a/.github/workflows/build_spark-connect-client.yaml b/.github/workflows/build_spark-connect-client.yaml index ce30660e0..20161b81b 100644 --- a/.github/workflows/build_spark-connect-client.yaml +++ b/.github/workflows/build_spark-connect-client.yaml @@ -42,3 +42,4 @@ jobs: # Since building Vector from source, this build runs out of disk space. # As such, we use the Ubicloud runners which provide bigger disks. runners: ubicloud + publish-to-quay: false diff --git a/.github/workflows/reusable_build_image.yaml b/.github/workflows/reusable_build_image.yaml index f425ffe3b..c7f76c928 100644 --- a/.github/workflows/reusable_build_image.yaml +++ b/.github/workflows/reusable_build_image.yaml @@ -26,13 +26,18 @@ on: - `ubicloud`: Both the x86_64 and the aarch64 builds run on the Ubicloud runners default: mixed type: string + publish-to-quay: + description: | + Whether to publish to quay.io or not. If `true`, the `quay-robot-secret` needs to be + provided. + type: boolean + default: true secrets: harbor-robot-secret: description: The secret for the Harbor robot user used to push images and manifest required: true quay-robot-secret: description: The secret for the Quay.io robot user used to push images and manifest - required: true slack-token: description: The Slack token used to post failure notifications required: true @@ -133,6 +138,7 @@ jobs: source-image-uri: localhost/${{ inputs.registry-namespace }}/${{ inputs.product-name }}:${{ steps.build.outputs.image-manifest-tag }} - name: Publish Container Image on quay.io + if: inputs.publish-to-quay uses: stackabletech/actions/publish-image@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1 with: image-registry-uri: quay.io @@ -179,6 +185,7 @@ jobs: image-index-manifest-tag: ${{ matrix.versions }}-stackable${{ inputs.sdp-version }} - name: Publish and Sign Image Index Manifest to quay.io + if: inputs.publish-to-quay uses: stackabletech/actions/publish-image-index-manifest@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1 with: image-registry-uri: quay.io