Skip to content

Commit 5c8a50d

Browse files
authored
fix: Fix push-helm pipeline (#11)
1 parent 67af430 commit 5c8a50d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/push-helm.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,10 @@ jobs:
2828
2929
echo "VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
3030
31-
- name: Login to GitHub Container Registry
32-
uses: docker/login-action@v3
33-
with:
34-
registry: ghcr.io
35-
username: ${{ github.actor }}
36-
password: ${{ secrets.GITHUB_TOKEN }}
37-
3831
- name: Package and push helm chart
3932
run: |
33+
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io --username "${{ github.actor }}" --password-stdin
34+
4035
VERSION=${{ steps.set_version.outputs.VERSION }}
4136
4237
helm package ./deployments/helm/nvidia-device-plugin --version "$VERSION"

0 commit comments

Comments
 (0)