Skip to content

Commit

Permalink
Login explicitely on GHCR when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed Dec 15, 2023
1 parent d8af314 commit ea20ebb
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 @@ -21,6 +21,12 @@ jobs:
- uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # tag=v24
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Login to GitHub Container Registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # tag=v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
run: nix develop --command goreleaser release --clean
env:
Expand Down

0 comments on commit ea20ebb

Please sign in to comment.