diff --git a/docker-bake.hcl b/docker-bake.hcl index 104e284a31..2c6092b52d 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -36,8 +36,10 @@ target "login-lint" { contexts = { login-dev-base = "target:login-dev-base" } - output = ["type=docker"] tags = ["${LOGIN_LINT_TAG}"] + output = ["type=docker"] + cache-from = ["type=gha,scope=image"] + cache-to = ["type=gha,scope=image,ignore-error=true,mode=max"] } target "login-client" {