use cache

This commit is contained in:
Elio Bischof
2025-06-17 11:08:23 +02:00
parent dcadc54263
commit f98ec8a45b

View File

@@ -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