From 112df6cbdd068383babf40da806ca2bf8346396e Mon Sep 17 00:00:00 2001 From: ADRFranklin Date: Fri, 2 Dec 2022 18:52:40 +0000 Subject: [PATCH] ci: make sure to login to github registry before running goreleaser --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4547f3ef..4fc4516f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,12 @@ jobs: with: go-version: '>=1.19.3' cache: true + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: goreleaser/goreleaser-action@v2 with: distribution: goreleaser