Skip to content

Commit

Permalink
chore: login into ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Apr 25, 2024
1 parent d7e0f27 commit 0263097
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,16 @@ jobs:
fetch-depth: 0

- name: Log into ghcr registry
if: |
startsWith(github.ref, 'refs/tags/v')
# if: |
# startsWith(github.ref, 'refs/tags/v')
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Log into docker registry
if: github.event_name != 'pull_request'
# if: |
# startsWith(github.ref, 'refs/tags/v')
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
username: you54f
Expand Down

0 comments on commit 0263097

Please sign in to comment.