Skip to content

Helm Chart release automation #2

Helm Chart release automation

Helm Chart release automation #2

name: "Push helm chart on release"
env:
IMAGE_NAME: ghcr.io/${{ github.repository }}
on:
push:
tags:
- v*
jobs:
package-and-push-helm-chart:
runs-on: ubuntu-22.04
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: update chart
run: GITHUB_TAG=${GITHUB_REF_NAME} GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make update-chart
- name: push chart
uses: bsord/[email protected]
with:
useOCIRegistry: true
registry-url: oci://ghcr.io/${{ github.repository }}
username: ${{ github.repository_owner }}
access-token: ${{ secrets.GITHUB_TOKEN }}
force: true
chart-folder: deployment/sriov-network-operator