feat: add Kubernetes secrets support (helm) (#306) #7
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: | |
- main | |
paths: | |
- 'helm/fuel-explorer/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/main' || 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-explorer |