Skip to content

Commit

Permalink
ghcr login
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman committed Jan 3, 2025
1 parent 9526eb2 commit f6137fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: "${{ github.event.inputs.registry == 'ghcr.io' }}"
# trigger login also for push
if: "${{ github.event.inputs.registry != 'dockerhub' }}"
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -58,4 +59,4 @@ jobs:
with:
distribution: goreleaser
version: v2
args: --snapshot --clean --skip archive
args: --clean

0 comments on commit f6137fa

Please sign in to comment.