From c57f9a1bcc11b25c4532db47c0d338eec4c65671 Mon Sep 17 00:00:00 2001 From: Roman Melnyk Date: Fri, 15 Dec 2023 11:25:23 +0200 Subject: [PATCH] sync chart with helm-chart repo (#86) --- .github/workflows/release.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc73a38..4d1c532 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -165,6 +165,7 @@ jobs: ls -l "${CR_PACKAGE_PATH}" git status + - name: Make helm charts github release uses: softprops/action-gh-release@v1 with: @@ -192,3 +193,15 @@ jobs: git add ${CHART_PATH}/Chart.yaml git commit -m "[Release] Update Chart.yaml" git push + + - name: Sync chart with helm-charts github + run: | + cd helm-charts + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + git checkout main + cp -r ${CHART_PATH} ./charts/egressd + git add charts/egressd + git commit -m "[egressd] Update egressd chart to ${{env.RELEASE_TAG}}" + git push +