diff --git a/.github/workflows/go-build.yml b/.github/workflows/go-build.yml index f646e9d..245e0cf 100644 --- a/.github/workflows/go-build.yml +++ b/.github/workflows/go-build.yml @@ -27,12 +27,22 @@ jobs: version: v2 args: check + - + name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Compile uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: v2 - args: build --clean --snapshot + args: build --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Get dependencies run: |