-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (31 loc) · 927 Bytes
/
helm-publish.yaml
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
name: Build and publish Helm Chart
on:
workflow_dispatch:
inputs:
deploy:
description: "deploy: false|true"
required: false
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-subgraph