From 5b75b4119ed573417f8dcecf084c20b75076bc30 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Tue, 11 Apr 2023 12:59:28 +0200 Subject: [PATCH] Use variable for REGISTRY_CACHE --- build/docker-bake.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/docker-bake.hcl b/build/docker-bake.hcl index 1e76c52..f75df15 100644 --- a/build/docker-bake.hcl +++ b/build/docker-bake.hcl @@ -56,7 +56,7 @@ function "get-cache-to" { params = [version] result = [ "type=gha,mode=max,scope=${version}_${BAKE_LOCAL_PLATFORM}", - "type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("${version}-${BAKE_LOCAL_PLATFORM}")}" + "type=registry,mode=max,ref=${REGISTRY_CACHE}:${sha1("${version}-${BAKE_LOCAL_PLATFORM}")}" ] }