File tree Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 14
14
token : ${{ secrets.GITHUB_TOKEN }}
15
15
package-type : ' container'
16
16
package-name : ' valheim-server-discord-bot'
17
- min-versions-to-keep : 3
17
+ min-versions-to-keep : 9
Original file line number Diff line number Diff line change 5
5
release :
6
6
types :
7
7
- published
8
- # push:
9
- # branches: [ "master" ]
10
8
11
9
env :
12
10
REGISTRY : ghcr.io
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
helm-chart :
11
- # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
12
- # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
13
11
permissions :
14
12
contents : write
15
13
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 15
15
contents : write
16
16
steps :
17
17
- name : Initial checkout
18
- uses : actions/checkout@v4.1.4
18
+ uses : actions/checkout@v4.1.3
19
19
with :
20
20
fetch-depth : " 0"
21
21
token : ${{secrets.ACCESS_TOKEN}}
28
28
- name : Set up Node.js
29
29
uses : actions/setup-node@v4.0.2
30
30
with :
31
- cache : ' npm'
31
+ cache : " npm"
32
32
node-version : " 20"
33
33
34
34
- name : Install GitVersion
50
50
51
51
- name : Bump helm chart
52
52
run : |
53
- sed -i "s/^appVersion:.*/appVersion: ${{env.semVer}}/" deployment/helm/Chart.yaml
53
+ sed -i "s/^version:.*/version: ${{env.semVer}}/" deployment/helm/Chart.yaml
54
+ sed -i "s/:[0-9]\+\.[0-9]\+\.[0-9]\+/:${{env.semVer}}/" deployment/helm/values.yaml
54
55
55
56
- name : Push version updates and create tags
56
57
run : |
Original file line number Diff line number Diff line change @@ -4,6 +4,4 @@ description: A Helm chart for Kubernetes
4
4
5
5
type : application
6
6
7
- appVersion : 0.7.9
8
-
9
- version : 0.1.0
7
+ version : 0.7.9
Original file line number Diff line number Diff line change 1
1
namespace : game-servers
2
- discordBotImage : ghcr.io/floryn08/valheim-server-discord-bot:latest
2
+ discordBotImage : ghcr.io/floryn08/valheim-server-discord-bot:0.7.9
3
3
vault :
4
4
enabled : true
You can’t perform that action at this time.
0 commit comments