cache compose tests

This commit is contained in:
Elio Bischof
2025-06-18 13:36:21 +02:00
parent ee0fff5cf4
commit 19ac1300df

View File

@@ -35,6 +35,7 @@ jobs:
oidc: true oidc: true
- name: Restore Run Caches - name: Restore Run Caches
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
id: run-caches-restore
with: with:
path: ${{ runner.temp }}/zitadel-make-cache path: ${{ runner.temp }}/zitadel-make-cache
key: zitadel-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} key: zitadel-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
@@ -46,11 +47,11 @@ jobs:
DEPOT_PROJECT_ID: jp837jn3fm DEPOT_PROJECT_ID: jp837jn3fm
REF_TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} REF_TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
CACHE_DIR: ${{ runner.temp }}/zitadel-make-cache CACHE_DIR: ${{ runner.temp }}/zitadel-make-cache
LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: . LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: "."
- name: Save Run Caches - name: Save Run Caches
id: cache-primes-save id: cache-primes-save
uses: actions/cache/save@v4 uses: actions/cache/save@v4
with: with:
path: ${{ runner.temp }}/zitadel-make-cache path: ${{ runner.temp }}/zitadel-make-cache
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }} key: ${{ steps.run-caches-restore.outputs.cache-primary-key }}
if: always() if: always()