Skip to content

Commit

Permalink
[CI/Build] Remove useless steps (#124)
Browse files Browse the repository at this point in the history
* Remove useless steps

Signed-off-by: Shaoting <[email protected]>

---------

Signed-off-by: Shaoting <[email protected]>
Signed-off-by: sitloboi2012 <[email protected]>
  • Loading branch information
Shaoting-Feng authored and sitloboi2012 committed Feb 14, 2025
1 parent 2909f43 commit 79d1153
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,3 @@ jobs:
charts_dir: "."
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Login to GitHub Container Registry
run: |
echo "${GHCR_REGISTRY_PASSWORD}" | helm registry login ghcr.io --username ${{ github.actor }} --password-stdin
env:
GHCR_REGISTRY_PASSWORD: "${{ secrets.GITHUB_TOKEN }}"

- name: Push Charts to ghcr.io
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
echo "No charts to release"
break
fi
REPO=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')
helm push "${pkg}" "oci://ghcr.io/$REPO"
done

0 comments on commit 79d1153

Please sign in to comment.