File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish_helm_chart
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " .github/workflows/publish-chart.yaml"
9+ - " deploy/**"
10+ jobs :
11+ release :
12+ permissions :
13+ contents : write
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Harden Runner
17+ uses : step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
18+ with :
19+ egress-policy : audit
20+
21+ - name : Checkout
22+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
23+ with :
24+ fetch-depth : 0
25+
26+ - name : Configure Git
27+ run : |
28+ git config user.name "$GITHUB_ACTOR"
29+ git config user.email "[email protected] " 30+
31+ - name : Install Helm
32+ uses : azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
33+ env :
34+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
35+
36+ - name : Run chart-releaser
37+ uses : helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
38+ with :
39+ charts_dir : deploy
40+ env :
41+ CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments