mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 21:37:24 +00:00
fix(goreleaser): use app instead of pat (#3584)
* fix: problem when accessing tap repo * fix(goreleaser): use app instead of pat * fix from code review
This commit is contained in:
parent
60019808fe
commit
462fe10dab
7
.github/workflows/zitadel.yml
vendored
7
.github/workflows/zitadel.yml
vendored
@ -48,6 +48,11 @@ jobs:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: tibdex/github-app-token@v1
|
||||
id: generate-token
|
||||
with:
|
||||
app_id: ${{ secrets.APP_ID }}
|
||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
- name: Google Artifact Registry Login
|
||||
if: steps.semantic.outputs.new_release_published == 'true' && github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
|
||||
uses: docker/login-action@v1
|
||||
@ -64,7 +69,7 @@ jobs:
|
||||
args: release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN_TAP: ${{ secrets.GITHUB_TOKEN_TAP }}
|
||||
GORELEASER_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
|
||||
|
@ -68,7 +68,7 @@ brews:
|
||||
- tap:
|
||||
owner: zitadel
|
||||
name: zitadel-tap
|
||||
token: "{{ .Env.GITHUB_TOKEN_TAP }}"
|
||||
token: "{{ .Env.GORELEASER_TOKEN_TAP }}"
|
||||
folder: Formula
|
||||
goarm: "7"
|
||||
homepage: https://zitadel.ch
|
||||
|
Loading…
x
Reference in New Issue
Block a user