mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-27 10:36:30 +00:00
# Which Problems Are Solved
The new pipeline did not correctly build the release. Console was not
built into the binary. Also there were some pipeline permission errors.
# How the Problems Are Solved
- add `build-console` as dependency to pack binaries
- streamline permissions and only pass necessary into steps
# Additional Changes
none
# Additional Context
- relates to #10571
(cherry picked from commit e742d649c8)
70 lines
2.0 KiB
YAML
70 lines
2.0 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
tags-ignore:
|
|
- "*"
|
|
branches:
|
|
- "main"
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
lint_test_build:
|
|
uses: ./.github/workflows/lint_test_build.yml
|
|
permissions:
|
|
contents: read
|
|
with:
|
|
node_version: "22"
|
|
secrets:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
NX_CLOUD_ACCESS_TOKEN_READONLY: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
|
|
|
|
pack:
|
|
uses: ./.github/workflows/pack.yml
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
secrets:
|
|
GCR_JSON_KEY_BASE64: ${{ secrets.GCR_JSON_KEY_BASE64 }}
|
|
if: ${{ github.event_name == 'workflow_dispatch' }}
|
|
with:
|
|
node_version: "22"
|
|
semantic_version: "23.0.7"
|
|
image_name_github_api: "ghcr.io/zitadel/zitadel"
|
|
image_name_google_api: "europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel"
|
|
image_name_github_login: "ghcr.io/zitadel/zitadel-login"
|
|
image_name_google_login: "europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel-login"
|
|
|
|
release:
|
|
uses: ./.github/workflows/release.yml
|
|
permissions:
|
|
packages: write
|
|
contents: write
|
|
issues: write
|
|
pull-requests: write
|
|
needs:
|
|
- lint_test_build
|
|
- pack
|
|
if: ${{ github.event_name == 'workflow_dispatch' }}
|
|
secrets:
|
|
GCR_JSON_KEY_BASE64: ${{ secrets.GCR_JSON_KEY_BASE64 }}
|
|
APP_ID: ${{ secrets.APP_ID }}
|
|
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
|
|
with:
|
|
semantic_version: "23.0.7"
|
|
image_name_github_api: "ghcr.io/zitadel/zitadel"
|
|
image_name_google_api: "europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel"
|
|
image_name_github_login: "ghcr.io/zitadel/zitadel-login"
|
|
image_name_google_login: "europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel-login"
|