Skip to content

Commit 991d773

Browse files
committed
ci: renamed secret GITHUB_TOKEN to GH_ACTIONS_TOKEN
1 parent 527604a commit 991d773

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build-ghcr-image-on-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
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

.github/workflows/build-ghcr-image-on-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
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//')

.github/workflows/helm-release-kubeledger.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
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: |
@@ -91,7 +91,7 @@ jobs:
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

.github/workflows/helm-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
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: |

0 commit comments

Comments
 (0)