Skip to content

Commit 3602cb9

Browse files
committed
fix(ci): Fix a security warning
1 parent 5b7dad5 commit 3602cb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ jobs:
104104
105105
- name: Push Helm Chart to OCI Registry
106106
run: |
107-
helm registry login ${{ env.REGISTRY }} \
107+
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ env.REGISTRY }} \
108108
-u ${{ github.actor }} \
109-
-p ${{ secrets.GITHUB_TOKEN }}
109+
--password-stdin
110110
111111
CHART_VERSION=$(grep "^version:" ./helm/mcp-server/Chart.yaml | cut -d' ' -f2 | tr -d '"')
112112
REPO_OWNER=$(echo '${{ github.repository_owner }}' | tr '[:upper:]' '[:lower:]')

0 commit comments

Comments
 (0)