From ab740cf5e5cc9db973c93480345f262794bfad60 Mon Sep 17 00:00:00 2001 From: Allen Conlon Date: Thu, 11 Jun 2026 03:55:31 -0400 Subject: [PATCH] feat: add publish of helm chart to ghcr.io (#2853) Signed-off-by: Allen Conlon Co-authored-by: Felix Kunde --- .github/workflows/publish_ghcr_image.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/publish_ghcr_image.yaml b/.github/workflows/publish_ghcr_image.yaml index 2425e39b3..5a0c3b045 100644 --- a/.github/workflows/publish_ghcr_image.yaml +++ b/.github/workflows/publish_ghcr_image.yaml @@ -101,3 +101,15 @@ jobs: build-args: BASE_IMAGE=ubuntu:22.04 tags: "${{ steps.image_lb.outputs.BACKUP_IMAGE }}" platforms: linux/amd64,linux/arm64 + + - name: Build and push postgres-operator chart to ghcr + run: | + helm package charts/postgres-operator + helm push postgres-operator-*.tgz oci://${{ env.REGISTRY }}/zalando/charts + rm -rf postgres-operator-*.tgz + + - name: Build and push postgres-operator-ui chart to ghcr + run: | + helm package charts/postgres-operator-ui + helm push postgres-operator-ui-*.tgz oci://${{ env.REGISTRY }}/zalando/charts + rm -rf postgres-operator-ui-*.tgz