Adding Helm Chart for infra-v2 (#45) #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: Build and publish Helm Chart | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'helm/fuel-block-committer/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/[email protected] | |
with: | |
useOCIRegistry: true | |
registry-url: oci://ghcr.io/fuellabs/helmcharts | |
username: ${{ github.repository_owner }} | |
access-token: ${{ secrets.GITHUB_TOKEN }} | |
force: true | |
chart-folder: ./helm/fuel-block-committer |