-
Notifications
You must be signed in to change notification settings - Fork 82
42 lines (37 loc) · 1.03 KB
/
helm-publish.yml
File metadata and controls
42 lines (37 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build and publish Helm Chart
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "helm/fuel-explorer/Chart.yaml"
pull_request:
types: [ opened, synchronize ]
release:
types: [ published ]
permissions:
contents: read
jobs:
helm-release:
name: Build Helm Chart
runs-on: warp-ubuntu-latest-x64-4x
if: |
(github.event_name == 'release' && github.event.action == 'published') ||
github.ref == 'refs/heads/main' || github.event_name == 'pull_request' ||
github.event_name == 'workflow_dispatch'
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/fuel-explorer