From b51d428221e1b4d2a3ba1c2ee7b8f60afe006f3d Mon Sep 17 00:00:00 2001 From: xZero707 Date: Wed, 3 May 2023 00:46:44 +0200 Subject: [PATCH] Remove GHA cache due to issues when used in combination with registry cache --- build/docker-bake.hcl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/docker-bake.hcl b/build/docker-bake.hcl index f75df15..67f2f29 100644 --- a/build/docker-bake.hcl +++ b/build/docker-bake.hcl @@ -46,7 +46,6 @@ function "get-args" { function "get-cache-from" { params = [version] result = [ - "type=gha,scope=${version}_${BAKE_LOCAL_PLATFORM}", "type=registry,ref=${REGISTRY_CACHE}:${sha1("${version}-${BAKE_LOCAL_PLATFORM}")}" ] } @@ -55,7 +54,6 @@ function "get-cache-from" { function "get-cache-to" { params = [version] result = [ - "type=gha,mode=max,scope=${version}_${BAKE_LOCAL_PLATFORM}", "type=registry,mode=max,ref=${REGISTRY_CACHE}:${sha1("${version}-${BAKE_LOCAL_PLATFORM}")}" ] } @@ -169,4 +167,4 @@ target "6_2_0" { cache-to = get-cache-to("6.2.0") tags = get-tags("6.2.0", ["6", "6.2", "latest"]) args = get-args("6.2.0") -} \ No newline at end of file +}