Skip to content

Commit 50cbc39

Browse files
committed
Update GitHub Actions workflow to replace GH_TOKEN with GITHUB_TOKEN for consistency and improved security in Docker image build process.
1 parent 0814569 commit 50cbc39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
registry: ${{ env.REGISTRY }}
7171
username: ${{ github.actor }}
72-
password: ${{ secrets.GH_TOKEN }}
72+
password: ${{ secrets.GITHUB_TOKEN }}
7373

7474
- name: Build and push Docker image
7575
if: github.event_name != 'pull_request'
@@ -124,4 +124,4 @@ jobs:
124124
draft: false
125125
prerelease: false
126126
env:
127-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
127+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)