mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:47: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 }}
|
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' }}
|
||||||
|
|
||||||
|
2
.github/workflows/login-container.yml
vendored
2
.github/workflows/login-container.yml
vendored
@@ -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"
|
||||||
|
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}}-${{ 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
|
||||||
|
Reference in New Issue
Block a user