mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:57:32 +00:00
reuse compiled zitadel
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -79,6 +79,7 @@ jobs:
|
||||
core_cache_path: ${{ needs.core.outputs.cache_path }}
|
||||
|
||||
login-quality:
|
||||
needs: [compile]
|
||||
uses: ./.github/workflows/login-quality.yml
|
||||
permissions:
|
||||
actions: write
|
||||
@@ -97,6 +98,7 @@ jobs:
|
||||
build_image_name: "ghcr.io/zitadel/zitadel-build"
|
||||
|
||||
login-container:
|
||||
needs: [compile]
|
||||
uses: ./.github/workflows/login-container.yml
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
|
||||
|
2
.github/workflows/login-container.yml
vendored
2
.github/workflows/login-container.yml
vendored
@@ -42,4 +42,4 @@ jobs:
|
||||
FORCE: ${{ github.event.inputs.force }}
|
||||
- name: Get Login image tag
|
||||
id: get-login-tag
|
||||
run: echo "LOGIN_TAG=$(make login-standalone-build-tag)" >> "$GITHUB_OUTPUT"
|
||||
run: echo "LOGIN_TAG=$(make login_standalone_build_tag)" >> "$GITHUB_OUTPUT"
|
||||
|
6
.github/workflows/login-quality.yml
vendored
6
.github/workflows/login-quality.yml
vendored
@@ -46,10 +46,14 @@ jobs:
|
||||
${{ runner.os }}-login-run-caches-${{github.ref_name}}-${{ github.sha }}-
|
||||
${{ runner.os }}-login-run-caches-${{github.ref_name}}-
|
||||
${{ runner.os }}-login-run-caches-
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: .artifacts
|
||||
name: zitadel-linux-amd64
|
||||
- name: Unpack executable
|
||||
run: |
|
||||
tar -xvf .artifacts/zitadel-linux-amd64.tar.gz
|
||||
mv zitadel-linux-amd64/zitadel ./zitadel
|
||||
- run: make login_quality
|
||||
env:
|
||||
# latest if branch is main, otherwise image version which is the pull request number
|
||||
|
Reference in New Issue
Block a user