Do not use inline cache in server images

This commit is contained in:
Mikhail f. Shiryaev 2023-08-03 18:06:00 +02:00
parent 68b48a0bc0
commit ca67576720
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -238,7 +238,7 @@ def build_and_push_image(
result = [] # type: TestResults
if os != "ubuntu":
tag += f"-{os}"
init_args = ["docker", "buildx", "build", "--build-arg BUILDKIT_INLINE_CACHE=1"]
init_args = ["docker", "buildx", "build"]
if push:
init_args.append("--push")
init_args.append("--output=type=image,push-by-digest=true")