From 84e2e3b8cce48480f92a82c29be883cb9a65e3c5 Mon Sep 17 00:00:00 2001 From: aperezg Date: Fri, 12 May 2023 01:51:00 +0200 Subject: [PATCH] using different tokens to publish the release --- .github/workflows/release.yml | 3 ++- .goreleaser.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88182b1..cd641c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,8 @@ jobs: version: latest args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GH_RELEASER }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_RELEASER: ${{ secrets.GH_RELEASER }} docker-hub: needs: release name: Deploy to docker-hub diff --git a/.goreleaser.yml b/.goreleaser.yml index 91aba6c..adb3733 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -41,6 +41,7 @@ brews: tap: owner: friendsofgo name: homebrew-tap + token: "{{ .Env.GH_RELEASER }}" folder: Formula description: | Simple way to generate fake servers