From 68abcb8336aa6627d14698e7f3c534069ae98599 Mon Sep 17 00:00:00 2001 From: Techassi Date: Tue, 26 May 2026 09:43:37 +0200 Subject: [PATCH] revert(template): Publish to quay.io (#584) This reverts commit 96368df17aa9ea9327f18e329bc09d9f53c3ca2b. This change is reverted because the current default Helm version used by the publish-helm-chart action errors out when trying to push Helm Charts to quay.io. This issue is decribed in the upstream issue: https://github.com/helm/helm/issues/32144. The only option we currently would have had was to downgrade to Helm 3.17.x. We decided to wait a little longer for either a) a new, fixed Helm version, or b) to downgrade until a fixed version is released. This revert is needed to unblock other changes in this repo to be rolled out without breaking CI. --- template/.github/workflows/build.yaml.j2 | 46 ++----------------- .../helm/[[operator]]/values/quay.io.yaml | 4 -- 2 files changed, 4 insertions(+), 46 deletions(-) delete mode 100644 template/deploy/helm/[[operator]]/values/quay.io.yaml diff --git a/template/.github/workflows/build.yaml.j2 b/template/.github/workflows/build.yaml.j2 index f80ca8b2..96b1b8cd 100644 --- a/template/.github/workflows/build.yaml.j2 +++ b/template/.github/workflows/build.yaml.j2 @@ -173,7 +173,7 @@ jobs: build-arguments: VERSION=${{ steps.version.outputs.OPERATOR_VERSION }} container-file: docker/Dockerfile - - name: Publish Container Image to oci.stackable.tech + - name: Publish Container Image if: ${{ !github.event.pull_request.head.repo.fork }} uses: stackabletech/actions/publish-image@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 with: @@ -184,17 +184,6 @@ jobs: image-manifest-tag: ${{ steps.build.outputs.image-manifest-tag }} source-image-uri: ${{ steps.build.outputs.image-manifest-uri }} - - name: Publish Container Image to quay.io - if: ${{ !github.event.pull_request.head.repo.fork }} - uses: stackabletech/actions/publish-image@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 - with: - image-registry-uri: quay.io - image-registry-username: stackable+robot_sdp_github_action_build - image-registry-password: ${{ secrets.QUAY_ROBOT_SDP_GITHUB_ACTION_BUILD_SECRET }} - image-repository: stackable/sdp/${{ env.OPERATOR_NAME }} - image-manifest-tag: ${{ steps.build.outputs.image-manifest-tag }} - source-image-uri: ${{ steps.build.outputs.image-manifest-uri }} - publish-index-manifest: name: Publish/Sign ${{ needs.build-container-image.outputs.operator-version }} Index if: | @@ -213,7 +202,7 @@ jobs: with: persist-credentials: false - - name: Publish and Sign Image Index to oci.stackable.tech + - name: Publish and Sign Image Index uses: stackabletech/actions/publish-image-index-manifest@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 with: image-registry-uri: oci.stackable.tech @@ -222,15 +211,6 @@ jobs: image-repository: sdp/${{ env.OPERATOR_NAME }} image-index-manifest-tag: ${{ needs.build-container-image.outputs.operator-version }} - - name: Publish and Sign Image Index to quay.io - uses: stackabletech/actions/publish-image-index-manifest@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 - with: - image-registry-uri: quay.io - image-registry-username: stackable+robot_sdp_github_action_build - image-registry-password: ${{ secrets.QUAY_ROBOT_SDP_GITHUB_ACTION_BUILD_SECRET }} - image-repository: stackable/sdp/${{ env.OPERATOR_NAME }} - image-index-manifest-tag: ${{ needs.build-container-image.outputs.operator-version }} - publish-helm-chart: name: Package/Publish ${{ needs.build-container-image.outputs.operator-version }} Helm Chart if: | @@ -249,7 +229,7 @@ jobs: persist-credentials: false submodules: recursive - - name: Package, Publish, and Sign Helm Chart to oci.stackable.tech + - name: Package, Publish, and Sign Helm Chart uses: stackabletech/actions/publish-helm-chart@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 with: chart-registry-uri: oci.stackable.tech @@ -261,18 +241,6 @@ jobs: app-version: ${{ needs.build-container-image.outputs.operator-version }} publish-and-sign: ${{ !github.event.pull_request.head.repo.fork }} - - name: Package, Publish, and Sign Helm Chart to quay.io - uses: stackabletech/actions/publish-helm-chart@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 - with: - chart-registry-uri: quay.io - chart-registry-username: stackable+robot_sdp_charts_github_action_build - chart-registry-password: ${{ secrets.QUAY_ROBOT_SDP_CHARTS_GITHUB_ACTION_BUILD_SECRET }} - chart-repository: stackable/sdp-charts - chart-directory: deploy/helm/${{ env.OPERATOR_NAME }} - chart-version: ${{ needs.build-container-image.outputs.operator-version }} - app-version: ${{ needs.build-container-image.outputs.operator-version }} - publish-and-sign: ${{ !github.event.pull_request.head.repo.fork }} - openshift-preflight-check: name: Run OpenShift Preflight Check for ${{ needs.build-container-image.outputs.operator-version }}-${{ matrix.arch }} if: | @@ -291,18 +259,12 @@ jobs: - arm64 runs-on: ubuntu-latest steps: - - name: Run OpenShift Preflight Check for oci.stackable.tech + - name: Run OpenShift Preflight Check uses: stackabletech/actions/run-openshift-preflight@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 with: image-index-uri: oci.stackable.tech/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }} image-architecture: ${{ matrix.arch }} - - name: Run OpenShift Preflight Check for quay.io - uses: stackabletech/actions/run-openshift-preflight@6a84fcfccf4ee37d85217407bc6a94742afbb45f # v0.14.2 - with: - image-index-uri: quay.io/stackable/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }} - image-architecture: ${{ matrix.arch }} - # This job is a required check in GitHub Settings for this repository. # It saves us having to list many required jobs, or work around dynamically # named jobs (since there is no concept of required settings). diff --git a/template/deploy/helm/[[operator]]/values/quay.io.yaml b/template/deploy/helm/[[operator]]/values/quay.io.yaml deleted file mode 100644 index 84005eae..00000000 --- a/template/deploy/helm/[[operator]]/values/quay.io.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -# Values overlay for chart packages published to quay.io. -image: - repository: quay.io/stackable/sdp