Skip to content

Merge pull request #2 from FuelLabs/devops/add-helm-chart #2

Merge pull request #2 from FuelLabs/devops/add-helm-chart

Merge pull request #2 from FuelLabs/devops/add-helm-chart #2

Workflow file for this run

name: Build and publish Helm Chart
on:
push:
branches:
- master
paths:
- 'helm/forc.pub/Chart.yaml'
permissions:
contents: read
jobs:
helm-release:
name: Build Helm Chart
runs-on: buildjet-4vcpu-ubuntu-2204
if: |
(github.event_name == 'release' && github.event.action == 'published') ||
github.ref == 'refs/heads/master' || github.event_name == 'pull_request'
permissions:
contents: read
packages: write
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Package and Push Charts
uses: bsord/helm-push@v4.1.0
with:
useOCIRegistry: true
registry-url: oci://ghcr.io/fuellabs/helmcharts
username: ${{ github.repository_owner }}
access-token: ${{ secrets.GITHUB_TOKEN }}
force: true
chart-folder: ./helm/forc.pub