cache compose tests

This commit is contained in:
Elio Bischof
2025-06-18 12:34:18 +02:00
parent 8a32395f69
commit 67f47aac2e

View File

@@ -37,7 +37,8 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ runner.temp }}/zitadel-make-cache
key: zitadel-make-cache
key: zitadel-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
restore-keys: zitadel-make-cache-latest
- run: make login-quality
env:
# latest if branch is main, otherwise image version which is the pull request number