diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml index 8f67f7d02..3447cd376 100644 --- a/.github/workflows/helm.yml +++ b/.github/workflows/helm.yml @@ -29,6 +29,13 @@ jobs: - name: Install Oras uses: oras-project/setup-oras@v1 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Package helm charts run: | mkdir -p ./.cr-release-packages @@ -91,13 +98,6 @@ jobs: name: artifacts path: .cr-release-packages/ - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Push charts to GHCR env: COSIGN_YES: true