cache compose tests

This commit is contained in:
Elio Bischof
2025-06-18 12:13:14 +02:00
parent b3814d80f5
commit c6c70990f2

View File

@@ -33,9 +33,15 @@ jobs:
- uses: depot/setup-action@v1 - uses: depot/setup-action@v1
with: with:
oidc: true oidc: true
- name: Save Run Caches
uses: actions/cache@v4
with:
path: |
${{ runner.temp }}/zitadel-make-cache
- 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
BUILDX_CLI: depot --file docker-bake.hcl --file docker-bake-ci.hcl BUILDX_CLI: depot --file docker-bake.hcl --file docker-bake-ci.hcl
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