Skip to content

sync: release: bump helm chart to 3.3.4 #27

sync: release: bump helm chart to 3.3.4

sync: release: bump helm chart to 3.3.4 #27

Workflow file for this run

name: Publish Helm Chart
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
# Triggered by version tag push from sync-helm-chart.yaml.
# Packages the chart with root README and pushes to GHCR.
publish-release:
if: startsWith(github.ref, 'refs/tags/v')
name: Publish release chart
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: azure/setup-helm@v4
with:
version: 'v3.18.4'
- name: Copy README into chart directory
run: cp README.md charts/platforma/README.md
- name: Extract chart version
id: version
run: |
VERSION=$(grep '^version:' charts/platforma/Chart.yaml | awk '{print $2}')
echo "version=${VERSION}" >> "${GITHUB_OUTPUT}"
- name: Package chart
run: helm package charts/platforma -d packages/
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GHCR
run: helm push packages/platforma-${{ steps.version.outputs.version }}.tgz oci://ghcr.io/${{ github.repository }}
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::511903394050:role/prod-platforma-helm-github-oidc-euce1
aws-region: eu-central-1
- name: Upload CFN template to S3
run: aws s3 cp ./infrastructure/aws/cloudformation-eks-1-35.yaml s3://platforma-cloudformation/cloudformation-eks-1-35.yaml