mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 19:09:16 +00:00
cache compose tests
This commit is contained in:
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -64,7 +64,8 @@ jobs:
|
|||||||
# 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
|
||||||
BAKE_CLI: depot bake
|
BAKE_CLI: depot bake
|
||||||
DEPOT_PROJECT_ID: jp837jn3fm
|
DEPOT_PROJECT_ID: jp837jn3fm
|
||||||
FORCE: ${{ github.event.inputs.clean-run-caches == 'true' }}
|
FORCE: true
|
||||||
|
# FORCE: ${{ github.event.inputs.clean-run-caches == 'true' }}
|
||||||
- name: Save Run Caches
|
- name: Save Run Caches
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
|
@@ -25,7 +25,7 @@ inspect_image() {
|
|||||||
|
|
||||||
get_digest() {
|
get_digest() {
|
||||||
local image=$1
|
local image=$1
|
||||||
echo "id=$(inspect_image $image '{{ .Id }}'),digest=$(inspect_image $image '{{ index RepoDigests 0 }}')"
|
echo "id=$(inspect_image $image '{{ .Id }}'),digest=$(inspect_image $image '{{ index RepoDigests 0 }}'),json=$(inspect_image $image '{{ json . }}' | base64 --wrap 0)"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_image_digests() {
|
get_image_digests() {
|
||||||
|
Reference in New Issue
Block a user