Skip to content

Commit

Permalink
actions: login to ghcr correctly in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Oct 1, 2024
1 parent 685f877 commit 59dd350
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,15 @@ jobs:
pattern: digests-*
merge-multiple: true
path: /tmp/digests
-
name: Login to GitHub Registry
-
name: Login to GitHub Container Registry
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }}
username: yuuki-discord
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down

0 comments on commit 59dd350

Please sign in to comment.