Move the Helm charts to a seperate Charts repo

This commit is contained in:
kjeld Schouten-Lebbing
2022-03-29 20:44:14 +02:00
parent bb191362f6
commit 12a37f3aab
3 changed files with 25 additions and 4 deletions
+19 -1
View File
@@ -21,6 +21,13 @@ jobs:
fetch-depth: 100
token: ${{ secrets.BOT_TOKEN }}
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
with:
repository: truecharts/charts
token: ${{ secrets.BOT_TOKEN }}
path: chartsrepo
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
with:
@@ -37,7 +44,7 @@ jobs:
- name: build-and-run
run: |
tools/build-release.sh -p --config .github/cr.yaml
tools/build-release.sh -p --config .github/cr.yaml SkipExisting: true
env:
CR_TOKEN: ${{ secrets.BOT_TOKEN }}
@@ -52,6 +59,17 @@ jobs:
cd -
rm -rf catalog
- name: Commit and Push new App releases
run: |
cd chartsrepo
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
git add --all
git commit -sm "Commit new Chart releases for TrueCharts" || exit 0
git push
cd -
rm -rf chartsrepo
- name: Commit and Push new Docker-hub-locked App releases
run: |
cd dh_catalog