reuse compiled zitadel

This commit is contained in:
Elio Bischof
2025-06-26 10:54:24 +02:00
parent 41743d09a6
commit 0520809f32
3 changed files with 8 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ jobs:
core_cache_path: ${{ needs.core.outputs.cache_path }} core_cache_path: ${{ needs.core.outputs.cache_path }}
login-quality: login-quality:
needs: [compile]
uses: ./.github/workflows/login-quality.yml uses: ./.github/workflows/login-quality.yml
permissions: permissions:
actions: write actions: write
@@ -97,6 +98,7 @@ jobs:
build_image_name: "ghcr.io/zitadel/zitadel-build" build_image_name: "ghcr.io/zitadel/zitadel-build"
login-container: login-container:
needs: [compile]
uses: ./.github/workflows/login-container.yml uses: ./.github/workflows/login-container.yml
if: ${{ github.event_name == 'workflow_dispatch' }} if: ${{ github.event_name == 'workflow_dispatch' }}

View File

@@ -42,4 +42,4 @@ jobs:
FORCE: ${{ github.event.inputs.force }} FORCE: ${{ github.event.inputs.force }}
- name: Get Login image tag - name: Get Login image tag
id: get-login-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"

View File

@@ -46,10 +46,14 @@ jobs:
${{ runner.os }}-login-run-caches-${{github.ref_name}}-${{ github.sha }}- ${{ runner.os }}-login-run-caches-${{github.ref_name}}-${{ github.sha }}-
${{ runner.os }}-login-run-caches-${{github.ref_name}}- ${{ runner.os }}-login-run-caches-${{github.ref_name}}-
${{ runner.os }}-login-run-caches- ${{ runner.os }}-login-run-caches-
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
path: .artifacts path: .artifacts
name: zitadel-linux-amd64 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 - run: make login_quality
env: env:
# latest if branch is main, otherwise image version which is the pull request number # latest if branch is main, otherwise image version which is the pull request number