mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-07-27 02:10:17 +08:00
feat(ci): copy a docker-hub locked version to a seperate catalog repo for chinese users
This commit is contained in:
16
.github/workflows/apps.release.yaml
vendored
16
.github/workflows/apps.release.yaml
vendored
@@ -28,6 +28,13 @@ jobs:
|
||||
token: ${{ secrets.BOT_TOKEN }}
|
||||
path: catalog
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
||||
with:
|
||||
repository: truecharts/dh_catalog
|
||||
token: ${{ secrets.BOT_TOKEN }}
|
||||
path: dh_catalog
|
||||
|
||||
- name: build-and-run
|
||||
run: |
|
||||
tools/build-release.sh -p --config .github/cr.yaml
|
||||
@@ -50,3 +57,12 @@ jobs:
|
||||
git add --all
|
||||
git commit -sm "Commit new App releases for TrueCharts" || exit 0
|
||||
git push
|
||||
|
||||
- name: Commit and Push new Docker-hub-locked App releases
|
||||
run: |
|
||||
cd dh_catalog
|
||||
git config user.name "TrueCharts-Bot"
|
||||
git config user.email "bot@truecharts.org"
|
||||
git add --all
|
||||
git commit -sm "Commit new App releases for TrueCharts" || exit 0
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user