feat: add publish of helm chart to ghcr.io

Signed-off-by: Allen Conlon <software@conlon.dev>
This commit is contained in:
Allen Conlon 2025-01-25 16:26:08 -05:00
parent f49b4f1e97
commit 90f1cc9660
No known key found for this signature in database
GPG Key ID: 7FE3F66849737F37
1 changed files with 12 additions and 0 deletions

View File

@ -86,3 +86,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