Skip to content

Commit dcf71fa

Browse files
committed
Don't mark beta release as latest
1 parent 03996ce commit dcf71fa

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Release Charts beta
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- 'releases/**-alpha'
8+
- 'releases/**-beta'
9+
paths:
10+
- charts/sddi-ckan/**
11+
12+
jobs:
13+
release:
14+
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
15+
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
16+
permissions:
17+
contents: write
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
25+
- name: Configure Git
26+
run: |
27+
git config user.name "$GITHUB_ACTOR"
28+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
29+
30+
- name: Install Helm
31+
uses: azure/setup-helm@v3
32+
with:
33+
version: v3.14.1
34+
35+
- name: Run chart-releaser
36+
uses: helm/chart-releaser-action@v1.6.0
37+
with:
38+
mark_as_latest: false
39+
skip_existing: true
40+
env:
41+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/chart-releaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches:
77
- main
88
- release/**
9+
- '!releases/**-alpha'
10+
- '!releases/**-beta'
911
paths:
1012
- charts/sddi-ckan/**
1113

0 commit comments

Comments
 (0)