File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 43
43
fetch-depth : 0 # Fetch all history
44
44
# For PRs, checkout the PR branch; for manual triggers use provided ref; otherwise use github.ref
45
45
ref : ${{ github.event.pull_request.head.sha || github.event.inputs.ref || github.event.inputs.GIT_SHA || github.ref }}
46
- token : ${{ secrets.GH_PAT }} # Use PAT for checkout
47
46
48
47
- name : Set up Docker Buildx
49
48
uses : docker/setup-buildx-action@v2
52
51
uses : docker/login-action@v2
53
52
with :
54
53
registry : ghcr.io
55
- username : ${{ secrets.GH_USER }} # Use the PAT owner's username
56
- password : ${{ secrets.GH_PAT }} # Use PAT instead of GITHUB_TOKEN
54
+ username : ${{ github.actor }}
55
+ password : ${{ secrets.GITHUB_TOKEN }}
57
56
58
57
- name : Build and Push Images
59
58
run : |
You can’t perform that action at this time.
0 commit comments