From 20f275f178cac2518af7fa2a11b6fc93441098aa Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 2 May 2022 17:20:30 +0200 Subject: [PATCH] fix(goreleaser): token to access tap repo (#3580) * chore(goreleaser): publish to discord and brew * chore: rename caos to zitadel * chore: remove console and grpc upload * chore: access to tap repo * fix(goreleaser): token to access tap repo --- .github/workflows/zitadel.yml | 1 + .goreleaser.yaml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/zitadel.yml b/.github/workflows/zitadel.yml index 0ae83a0453..ed0b21def1 100644 --- a/.github/workflows/zitadel.yml +++ b/.github/workflows/zitadel.yml @@ -65,6 +65,7 @@ jobs: args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN_TAP: ${{ steps.generate_token.outputs.token }} RELEASE_VERSION: ${{ steps.semantic.outputs.release-version }} # I think this line is not needed. Nevertheless, it's explicit - name: Publish go coverage uses: codecov/codecov-action@v3.1.0 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 58afcb9820..f2e5a595a7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -67,8 +67,7 @@ brews: - tap: owner: zitadel name: zitadel-tap - token: "{{ steps.generate-token.outputs.token }}" - + token: "{{ .Env.GITHUB_TOKEN_TAP }}" folder: Formula goarm: "7" homepage: https://zitadel.ch