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

This commit is contained in:
2023-05-03 00:46:44 +02:00
parent 82237ce431
commit b51d428221

View File

@@ -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")
}
}