Skip to content

Commit

Permalink
Merge pull request #991 from hangscer8/sync_charts_to_release.daoclou…
Browse files Browse the repository at this point in the history
…d.io

sync chart to release.daocloud.io
  • Loading branch information
ErikJiang authored Oct 30, 2023
2 parents 278e929 + 90e3741 commit fe144bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/call-sync-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ jobs:
rm -rf kubean.tar.gz
popd
- name: Sync chart to release.daocloud.io
run: |
pushd charts
tar zcvf kubean.tar.gz kubean
helm plugin install https://github.com/chartmuseum/helm-push
helm repo add addon https://release.daocloud.io/chartrepo/addon
helm cm-push kubean.tar.gz addon -a $(GITHUB_REF_NAME) -v $(GITHUB_REF_NAME) -u ${{ secrets.RELEASE_DAOCLOUD_USER }} -p ${{ secrets.RELEASE_DAOCLOUD_PASSWORD }}
rm -rf kubean.tar.gz
popd
- name: Pushes charts to another repository
id: push_directory
uses: cpina/[email protected]
Expand Down

0 comments on commit fe144bb

Please sign in to comment.