Skip to content

Commit

Permalink
ci: fix release by logging into ghcr.io
Browse files Browse the repository at this point in the history
To be able to push the built container we need to login to ghcr.io

Signed-off-by: Doug Goldstein <doug.goldstein@rackspace.com>
  • Loading branch information
cardoe committed Apr 24, 2024
1 parent 8385184 commit 23cb7e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
with:
go-version-file: 'go.mod'
cache: true
- name: login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-buildx-action@v3
- uses: goreleaser/goreleaser-action@v4
with:
Expand Down

0 comments on commit 23cb7e2

Please sign in to comment.