Remove GHA cache due to issues when used in combination with registry cache

This commit is contained in:
Aleksandar Puharic 2023-05-03 00:46:44 +02:00
parent 82237ce431
commit b51d428221
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -46,7 +46,6 @@ function "get-args" {
function "get-cache-from" { function "get-cache-from" {
params = [version] params = [version]
result = [ result = [
"type=gha,scope=${version}_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=${REGISTRY_CACHE}:${sha1("${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" { function "get-cache-to" {
params = [version] params = [version]
result = [ result = [
"type=gha,mode=max,scope=${version}_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=${REGISTRY_CACHE}:${sha1("${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") cache-to = get-cache-to("6.2.0")
tags = get-tags("6.2.0", ["6", "6.2", "latest"]) tags = get-tags("6.2.0", ["6", "6.2", "latest"])
args = get-args("6.2.0") args = get-args("6.2.0")
} }