Skip to content

Commit b4c1762

Browse files
authored
NOISSUE - Replace HELM_RELEASE_TOKEN with GITHUB_TOKEN (#171)
* Use GITHUB_TOKEN Signed-off-by: JeffMboya <[email protected]> * Update workflow Signed-off-by: JeffMboya <[email protected]> * Enable manual release Signed-off-by: JeffMboya <[email protected]> --------- Signed-off-by: JeffMboya <[email protected]>
1 parent e673a6e commit b4c1762

File tree

4 files changed

+683
-683
lines changed

4 files changed

+683
-683
lines changed

.github/workflows/helm-docs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ name: Generate Helm Docs
55

66
on:
77
push:
8-
branches:
9-
- master
8+
tags:
9+
- "supermq-*"
1010

1111
jobs:
1212
generate-docs:

.github/workflows/release.yaml

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

4-
name: Release Charts
4+
name: "Publish charts to repo"
55

66
on:
77
push:
8-
branches:
9-
- master
8+
tags:
9+
- "supermq-*"
1010

1111
jobs:
12-
release:
12+
publish:
13+
runs-on: ubuntu-latest
1314
permissions:
15+
pages: write
1416
contents: write
15-
16-
runs-on: ubuntu-latest
1717
steps:
18-
- name: Checkout Code
18+
- name: Checkout
1919
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
@@ -25,10 +25,8 @@ jobs:
2525
git config user.name "$GITHUB_ACTOR"
2626
git config user.email "[email protected]"
2727
28-
- name: Set up Helm
29-
uses: azure/[email protected]
30-
with:
31-
version: v3.15.4
28+
- name: Install Helm
29+
uses: azure/setup-helm@v4
3230

3331
- name: Add Dependencies
3432
run: |
@@ -45,6 +43,8 @@ jobs:
4543
helm dependency update charts/supermq
4644
4745
- name: Run chart-releaser
48-
uses: helm/[email protected]
46+
uses: helm/[email protected]
47+
with:
48+
charts_dir: charts
4949
env:
50-
CR_TOKEN: "${{ secrets.HELM_RELEASE_TOKEN }}"
50+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

charts/supermq/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Supermq
66
description: Event-driven Infrastructure for Modern Cloud
77
icon: https://avatars1.githubusercontent.com/u/13207490
88
type: application
9-
version: 0.16.5
9+
version: 0.16.6
1010
appVersion: "0.16.0"
1111
home: https://abstractmachines.fr/supermq.html
1212
sources:

0 commit comments

Comments
 (0)