Skip to content

Update helm chart to 5.12.0 version (#1102) #93

Update helm chart to 5.12.0 version (#1102)

Update helm chart to 5.12.0 version (#1102) #93

name: Push Hazelcast-Platform-Operator Helm chart to the repo
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "stable/hazelcast-platform-operator/**"
jobs:
publish:
runs-on: ubuntu-latest
env:
RELEASE_VERSION: ${{ github.event.inputs.RELEASE_VERSION }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Package operator chart and add it into index.yaml
run: |
helm package ./stable/hazelcast-platform-operator
helm package ./stable/hazelcast-platform-operator/charts/hazelcast-platform-operator-crds
aws s3 cp s3://hazelcast-charts/index.yaml .
helm repo index --url=https://hazelcast-charts.s3.amazonaws.com --merge ./index.yaml .
- name: Push operator chart and index.yaml to S3 bucket
run: |
for CHART_TGZ in *.tgz; do aws s3 cp ${CHART_TGZ} s3://hazelcast-charts; done
aws s3 cp ./index.yaml s3://hazelcast-charts