mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 04:17:32 +00:00
use cache
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
uses: docker/bake-action@v6
|
||||
env:
|
||||
# latest if branch is main, otherwise image version which is the pull request number
|
||||
BUILD_CACHE_KEY: ${{ github.ref == 'refs/heads/main' ? "latest" : fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
BUILD_CACHE_KEY: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
with:
|
||||
source: .
|
||||
push: false
|
||||
|
Reference in New Issue
Block a user