chore(ci): fix release (#10886)

# 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
This commit is contained in:
Livio Spring
2025-10-10 13:16:20 +00:00
committed by GitHub
parent 434aeb275a
commit e742d649c8
4 changed files with 26 additions and 30 deletions
+5 -3
View File
@@ -18,11 +18,12 @@ permissions:
packages: write
issues: write
pull-requests: write
actions: write
jobs:
lint_test_build:
uses: ./.github/workflows/lint_test_build.yml
permissions:
contents: read
with:
node_version: "22"
secrets:
@@ -31,10 +32,11 @@ jobs:
pack:
uses: ./.github/workflows/pack.yml
permissions:
contents: write
packages: write
secrets:
GCR_JSON_KEY_BASE64: ${{ secrets.GCR_JSON_KEY_BASE64 }}
permissions:
packages: write
if: ${{ github.event_name == 'workflow_dispatch' }}
with:
node_version: "22"
+5 -3
View File
@@ -26,9 +26,6 @@ on:
description: 'base64 endcrypted key to connect to Google'
required: true
permissions:
packages: write
env:
default_labels: |
org.opencontainers.image.documentation=https://zitadel.com/docs
@@ -37,6 +34,8 @@ env:
jobs:
version:
uses: ./.github/workflows/version.yml
permissions:
contents: write
with:
semantic_version: ${{ inputs.semantic_version }}
dry_run: true
@@ -46,6 +45,9 @@ jobs:
group: zitadel-public
environment: ${{ github.ref_protected == 'true' && 'Protected' || null }}
needs: version
permissions:
contents: read
packages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
+2
View File
@@ -32,6 +32,8 @@ on:
jobs:
version:
uses: ./.github/workflows/version.yml
permissions:
contents: write
with:
semantic_version: ${{ inputs.semantic_version }}
dry_run: false