diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b75b0a..dc83b8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,11 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.14 + - + name: Login to Docker Registry + run: | + echo "${{ secrets.GITHUB_TOKEN }}" | \ + docker login docker.pkg.github.com -u docker --password-stdin - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 @@ -26,6 +31,4 @@ jobs: version: latest args: release --rm-dist env: - DOCKER_USERNAME: till - DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}