From d323a5928daa9cea9d4a6df8cb640037f9cd7a1d Mon Sep 17 00:00:00 2001 From: Techassi Date: Thu, 21 May 2026 14:27:21 +0200 Subject: [PATCH 1/2] ci: Add push-to-quay toggle --- .github/workflows/build_spark-connect-client.yaml | 1 + .github/workflows/reusable_build_image.yaml | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_spark-connect-client.yaml b/.github/workflows/build_spark-connect-client.yaml index ce30660e0..e064dc244 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 + push-to-quay: false diff --git a/.github/workflows/reusable_build_image.yaml b/.github/workflows/reusable_build_image.yaml index f425ffe3b..b3069e7df 100644 --- a/.github/workflows/reusable_build_image.yaml +++ b/.github/workflows/reusable_build_image.yaml @@ -26,13 +26,17 @@ on: - `ubicloud`: Both the x86_64 and the aarch64 builds run on the Ubicloud runners default: mixed type: string + push-to-quay: + description: | + Whether to push 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 +137,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.push-to-quay uses: stackabletech/actions/publish-image@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1 with: image-registry-uri: quay.io @@ -179,6 +184,7 @@ jobs: image-index-manifest-tag: ${{ matrix.versions }}-stackable${{ inputs.sdp-version }} - name: Publish and Sign Image Index Manifest to quay.io + if: inputs.push-to-quay uses: stackabletech/actions/publish-image-index-manifest@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1 with: image-registry-uri: quay.io From de8c7a80562e2e754e7de66d00a8ad0bae053141 Mon Sep 17 00:00:00 2001 From: Techassi Date: Thu, 21 May 2026 14:31:44 +0200 Subject: [PATCH 2/2] ci: Rename push-to-quay to publish-to-quay --- .github/workflows/build_spark-connect-client.yaml | 2 +- .github/workflows/reusable_build_image.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_spark-connect-client.yaml b/.github/workflows/build_spark-connect-client.yaml index e064dc244..20161b81b 100644 --- a/.github/workflows/build_spark-connect-client.yaml +++ b/.github/workflows/build_spark-connect-client.yaml @@ -42,4 +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 - push-to-quay: false + publish-to-quay: false diff --git a/.github/workflows/reusable_build_image.yaml b/.github/workflows/reusable_build_image.yaml index b3069e7df..c7f76c928 100644 --- a/.github/workflows/reusable_build_image.yaml +++ b/.github/workflows/reusable_build_image.yaml @@ -26,9 +26,10 @@ on: - `ubicloud`: Both the x86_64 and the aarch64 builds run on the Ubicloud runners default: mixed type: string - push-to-quay: + publish-to-quay: description: | - Whether to push to quay.io or not. If `true`, the `quay-robot-secret` needs to be provided. + Whether to publish to quay.io or not. If `true`, the `quay-robot-secret` needs to be + provided. type: boolean default: true secrets: @@ -137,7 +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.push-to-quay + if: inputs.publish-to-quay uses: stackabletech/actions/publish-image@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1 with: image-registry-uri: quay.io @@ -184,7 +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.push-to-quay + if: inputs.publish-to-quay uses: stackabletech/actions/publish-image-index-manifest@8a8085be0a8cec3d24ad3970e602d65be487da6a # v0.14.1 with: image-registry-uri: quay.io