mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-30 12:27:32 +00:00
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
(cherry picked from commit e742d649c8)
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -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,6 +32,9 @@ jobs:
|
||||
|
||||
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' }}
|
||||
|
||||
5
.github/workflows/pack.yml
vendored
5
.github/workflows/pack.yml
vendored
@@ -34,6 +34,8 @@ env:
|
||||
jobs:
|
||||
version:
|
||||
uses: ./.github/workflows/version.yml
|
||||
permissions:
|
||||
contents: write
|
||||
with:
|
||||
semantic_version: ${{ inputs.semantic_version }}
|
||||
dry_run: true
|
||||
@@ -43,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
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -32,6 +32,8 @@ on:
|
||||
jobs:
|
||||
version:
|
||||
uses: ./.github/workflows/version.yml
|
||||
permissions:
|
||||
contents: write
|
||||
with:
|
||||
semantic_version: ${{ inputs.semantic_version }}
|
||||
dry_run: false
|
||||
|
||||
Reference in New Issue
Block a user