cache compose tests

This commit is contained in:
Elio Bischof
2025-06-18 12:28:09 +02:00
parent 159962f625
commit 3ddaa2ea7f
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ jobs:
- run: make login-quality
env:
# latest if branch is main, otherwise image version which is the pull request number
BUILDX_CLI: depot bake --file docker-bake.hcl --file docker-bake-ci.hcl
BAKE_CLI: depot bake --file docker-bake.hcl --file docker-bake-ci.hcl
DEPOT_PROJECT_ID: jp837jn3fm
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

View File

@@ -1,7 +1,7 @@
XDG_CACHE_HOME ?= $(HOME)/.cache
export CACHE_DIR ?= $(XDG_CACHE_HOME)/zitadel-make
export BAKE_CLI ?= docker buildx
export BAKE_CLI ?= docker buildx bake
export REF_TAG ?= local
export LOGIN_TAG := login:${REF_TAG}
export LOGIN_TEST_UNIT_TAG := login-test-unit:${REF_TAG}