diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 3e1621b..431cb9a 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -12,12 +12,10 @@ jobs: - uses: actions/setup-go@v3 with: go-version: 1.19 - stable: true - name: Install golangci-lint uses: golangci/golangci-lint-action@master with: version: v1.50.1 - skip-go-installation: true build: if: "!startsWith(github.ref, 'refs/tags/v')" @@ -32,12 +30,11 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.19 - stable: true - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: postfinance - password: ${{ secrets.DOCKER_TOKEN }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: @@ -69,12 +66,11 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.19 - stable: true - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: postfinance - password: ${{ secrets.DOCKER_TOKEN }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3