Skip to content

Commit

Permalink
Use the trigger person's credentials to push images (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: S m, Aruna <[email protected]>
  • Loading branch information
arsulegai authored Feb 23, 2022
1 parent 13df741 commit 7d32d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: "${{ secrets.PAT_USERNAME }}"
password: "${{ secrets.PAT }}"
username: $GITHUB_ACTOR
password: "${{ secrets.GITHUB_TOKEN }}"
- name: Generate a container image
run: |
version=$(mvn -q \
Expand Down

0 comments on commit 7d32d41

Please sign in to comment.