mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 07:17:34 +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
|
uses: docker/bake-action@v6
|
||||||
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
|
||||||
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:
|
with:
|
||||||
source: .
|
source: .
|
||||||
push: false
|
push: false
|
||||||
|
Reference in New Issue
Block a user