mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +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
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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