Skip to content

Commit 3f676c3

Browse files
committed
Update workflow
Signed-off-by: JeffMboya <[email protected]>
1 parent c67de00 commit 3f676c3

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/release.yaml

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
# Copyright (c) Abstract Machines
22
# SPDX-License-Identifier: Apache-2.0
33

4-
name: Release Charts
5-
4+
name: "Publish charts to repo"
65
on:
76
push:
87
branches:
98
- master
9+
tags:
10+
- "chart-*"
11+
paths:
12+
- "charts/**"
1013

1114
jobs:
12-
release:
15+
publish:
16+
runs-on: ubuntu-latest
1317
permissions:
18+
pages: write
1419
contents: write
15-
16-
runs-on: ubuntu-latest
1720
steps:
18-
- name: Checkout Code
21+
- name: Checkout
1922
uses: actions/checkout@v4
2023
with:
2124
fetch-depth: 0
@@ -25,10 +28,8 @@ jobs:
2528
git config user.name "$GITHUB_ACTOR"
2629
git config user.email "[email protected]"
2730
28-
- name: Set up Helm
29-
uses: azure/[email protected]
30-
with:
31-
version: v3.15.4
31+
- name: Install Helm
32+
uses: azure/setup-helm@v4
3233

3334
- name: Add Dependencies
3435
run: |
@@ -45,6 +46,8 @@ jobs:
4546
helm dependency update charts/supermq
4647
4748
- name: Run chart-releaser
48-
uses: helm/[email protected]
49+
uses: helm/[email protected]
50+
with:
51+
charts_dir: charts
4952
env:
5053
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)