Fixed metadata. #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Releasing charts | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
upload_helm: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
chart: | |
- py-app | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: azure/[email protected] | |
with: | |
version: latest | |
- name: Build Helm chart | |
run: | | |
helm package --app-version "${{ github.ref_name }}" --dependency-update ./charts/${{ matrix.chart }} | |
helm show chart *.tgz | |
helm registry login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io | |
helm push *.tgz oci://ghcr.io/intreecom/charts | |
env: | |
HELM_EXPERIMENTAL_OCI: 1 |