From 32d0adf62b5fc91d9e856f24da07b5b1d6dcb3bd Mon Sep 17 00:00:00 2001 From: gcaracuel <633810+gcaracuel@users.noreply.github.com> Date: Thu, 6 Aug 2026 10:10:37 +0200 Subject: [PATCH 1/3] ci: replace chart-releaser with direct GHCR OCI push, reset chart version to 2.0.0 - Remove helm/chart-releaser-action (designed for GitHub Pages, not needed) - Package chart with helm package directly - Push to GHCR as OCI package - Chart version reset to 2.0.0 for fork's own release track --- .github/workflows/chart.yml | 17 +++++------------ charts/ext-postgres-operator/Chart.yaml | 2 +- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/chart.yml b/.github/workflows/chart.yml index 74a06f75..580145e6 100644 --- a/.github/workflows/chart.yml +++ b/.github/workflows/chart.yml @@ -33,25 +33,18 @@ jobs: with: version: v3.18.2 - - name: Run chart-releaser - uses: helm/chart-releaser-action@a0d2dc62c5e491af8ef6ba64a2e02bcf3fb33aa1 # was: helm/chart-releaser-action@v1.7.0 - id: cr - with: - charts_dir: charts - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - CR_SKIP_EXISTING: "true" + - name: Package Helm chart + run: | + helm package charts/ext-postgres-operator --destination .cr-release-packages - - if: ${{ steps.cr.outputs.changed_charts }} - name: Login to GitHub Container Registry + - name: Login to GitHub Container Registry uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # was: docker/login-action@v4.6.0 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - if: ${{ steps.cr.outputs.changed_charts }} - name: Push Charts to GHCR + - name: Push Charts to GHCR run: | for pkg in .cr-release-packages/*; do if [ -z "${pkg:-}" ]; then diff --git a/charts/ext-postgres-operator/Chart.yaml b/charts/ext-postgres-operator/Chart.yaml index f9863f32..e175a4f9 100644 --- a/charts/ext-postgres-operator/Chart.yaml +++ b/charts/ext-postgres-operator/Chart.yaml @@ -8,5 +8,5 @@ description: | type: application -version: 3.0.0 +version: 2.0.0 appVersion: "2.4.0" From 4f56b00afd0d097995beb9df0dc321274890f3ca Mon Sep 17 00:00:00 2001 From: gcaracuel <633810+gcaracuel@users.noreply.github.com> Date: Thu, 6 Aug 2026 11:06:59 +0200 Subject: [PATCH 2/3] Chart to v4 to avoid chart collisions --- charts/ext-postgres-operator/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ext-postgres-operator/Chart.yaml b/charts/ext-postgres-operator/Chart.yaml index e175a4f9..8ef50eb0 100644 --- a/charts/ext-postgres-operator/Chart.yaml +++ b/charts/ext-postgres-operator/Chart.yaml @@ -8,5 +8,5 @@ description: | type: application -version: 2.0.0 +version: 4.0.0 appVersion: "2.4.0" From fa7059dad4cca5d288bbefc41987951aff7ccc59 Mon Sep 17 00:00:00 2001 From: gcaracuel <633810+gcaracuel@users.noreply.github.com> Date: Thu, 6 Aug 2026 11:17:48 +0200 Subject: [PATCH 3/3] ci: add workflow_dispatch trigger to chart release workflow --- .github/workflows/chart.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/chart.yml b/.github/workflows/chart.yml index 580145e6..d2df175e 100644 --- a/.github/workflows/chart.yml +++ b/.github/workflows/chart.yml @@ -1,6 +1,7 @@ name: Release Charts on: + workflow_dispatch: push: branches: - master