forked from truecharts/public
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.42 KB
/
apps.release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "Apps: Release"
on:
push:
branches:
- 'master'
tags-ignore:
- '**'
jobs:
release:
runs-on: ubuntu-latest
concurrency: gitpush
container:
image: ghcr.io/truecharts/devcontainer:v2.2.1
steps:
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
name: Checkout
with:
fetch-depth: 100
token: ${{ secrets.BOT_TOKEN }}
- name: Checkout
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
with:
repository: truecharts/catalog
token: ${{ secrets.BOT_TOKEN }}
path: catalog
- name: build-and-run
run: |
tools/build-release.sh -p --config .github/cr.yaml
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit and Push new Helm Charts and docs
run: |
git config user.name "TrueCharts-Bot"
git config user.email "[email protected]"
git add --all
git commit -sm "Commit released Helm Chart and docs for TrueCharts" || exit 0
git push
- name: Commit and Push new App releases
run: |
cd catalog
git config user.name "TrueCharts-Bot"
git config user.email "[email protected]"
git add --all
git commit -sm "Commit new App releases for TrueCharts" || exit 0
git push