Skip to content

Initial implementation #1

Initial implementation

Initial implementation #1

Workflow file for this run

name: release
on:
push:
tags: ["v*"]
permissions:
contents: read
packages: write
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azure/setup-helm@v4
- name: Verify tag matches Chart.yaml version
run: |
chart=$(awk '/^version:/{print $2}' Chart.yaml)
test "${GITHUB_REF_NAME}" = "v${chart}" \
|| { echo "tag ${GITHUB_REF_NAME} != v${chart}"; exit 1; }
- name: Login to ghcr.io
run: helm registry login ghcr.io -u ${{ github.actor }} --password-stdin <<< "${{ secrets.GITHUB_TOKEN }}"
- name: Push chart
run: make push