File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2929 with :
3030 registry : ghcr.io
3131 username : ${{ github.actor }}
32- password : ${{ secrets.GITHUB_TOKEN }}
32+ password : ${{ secrets.GH_ACTIONS_TOKEN }}
3333
3434 - name : Extract metadata (tags, labels) for Docker
3535 id : meta
Original file line number Diff line number Diff line change 1313 - uses : actions/checkout@v5
1414 - name : Build and push Docker image
1515 env :
16- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16+ GH_TOKEN : ${{ secrets.GH_ACTIONS_TOKEN }}
1717 run : |
1818 export GIT_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
1919 export IMAGE_TAG=$(echo $GIT_TAG | sed 's/v//')
Original file line number Diff line number Diff line change 6060
6161 - name : Login to GitHub Container Registry
6262 run : |
63- echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
64- echo "${{ secrets.GITHUB_TOKEN }}" | oras login ghcr.io -u ${{ github.actor }} --password-stdin
63+ echo "${{ secrets.GH_ACTIONS_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
64+ echo "${{ secrets.GH_ACTIONS_TOKEN }}" | oras login ghcr.io -u ${{ github.actor }} --password-stdin
6565
6666 - name : Push chart to GHCR (OCI)
6767 run : |
9191 if : steps.version.outputs.IS_TAG == 'true'
9292 uses : peaceiris/actions-gh-pages@v4
9393 with :
94- github_token : ${{ secrets.GITHUB_TOKEN }}
94+ GH_ACTIONS_TOKEN : ${{ secrets.GH_ACTIONS_TOKEN }}
9595 publish_dir : .helm-packages
9696 keep_files : true
9797 enable_jekyll : false
Original file line number Diff line number Diff line change 4444
4545 - name : Login to GitHub Container Registry
4646 run : |
47- echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
48- echo "${{ secrets.GITHUB_TOKEN }}" | oras login ghcr.io -u ${{ github.actor }} --password-stdin
47+ echo "${{ secrets.GH_ACTIONS_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
48+ echo "${{ secrets.GH_ACTIONS_TOKEN }}" | oras login ghcr.io -u ${{ github.actor }} --password-stdin
4949
5050 - name : Push chart to GHCR (OCI)
5151 run : |
You can’t perform that action at this time.
0 commit comments