fix: problem when accessing tap repo (#3582)

This commit is contained in:
Florian Forster 2022-05-02 21:02:04 +02:00 committed by GitHub
parent 06a1b52adf
commit 60019808fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -22,6 +22,10 @@ jobs:
go-version: 1.17
- name: Source checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
@ -51,11 +55,6 @@ jobs:
registry: europe-docker.pkg.dev
username: _json_key_base64
password: ${{ secrets.GCR_JSON_KEY_BASE64 }}
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: goreleaser/goreleaser-action@v2
name: Publish ZITADEL
if: steps.semantic.outputs.new_release_published == 'true' && github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
@ -65,7 +64,7 @@ jobs:
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN_TAP: ${{ steps.generate_token.outputs.token }}
GITHUB_TOKEN_TAP: ${{ secrets.GITHUB_TOKEN_TAP }}
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

View File

@ -27,6 +27,7 @@ builds:
goarch:
- amd64
- arm64
dist: .artifacts/goreleaser
dockers: