Skip to content

Commit 87ce8c5

Browse files
Update build.yml
use ${{ secrets.GITHUB_TOKEN }}
1 parent 14d3fc2 commit 87ce8c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
--file Dockerfile --tag $IMAGE_NAME:$VERSION
3333
3434
- name: Log into GitHub Container Registry
35-
run: echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
35+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
3636

3737
- name: Push image to GitHub Container Registry
3838
run: |
@@ -44,4 +44,4 @@ jobs:
4444
docker push $IMAGE_NAME:$VERSION
4545
# Push latest as well for caching purposes
4646
docker tag $IMAGE_NAME:$VERSION $IMAGE_NAME:latest
47-
docker push $IMAGE_NAME:latest
47+
docker push $IMAGE_NAME:latest

0 commit comments

Comments
 (0)