Skip to content

Commit c17ff7e

Browse files
committed
export to oci
1 parent 60768a3 commit c17ff7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/build/Tasks/DockerBaseTask.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ protected virtual void DockerImage(BuildContext context, DockerDepsImage dockerI
4343

4444
var path = GetWorkingDir(dockerImage).ToString();
4545
context.DockerBuildXBuild(buildSettings, path);
46-
/*context.DockerLoad(new()
46+
context.DockerLoad(new()
4747
{
4848
Input = TarName,
49-
});*/
49+
});
5050

5151
if (!context.PushImages)
5252
return;
@@ -89,7 +89,7 @@ protected virtual DockerBuildXBuildSettings GetBuildSettings(DockerDepsImage doc
8989
Tag = dockerTags,
9090
Platform = [$"linux/{suffix}"],
9191
Builder = BuilderName,
92-
Output = [$"type=docker,oci-mediatypes=true"],
92+
Output = [$"type=oci,dest={TarName},oci-mediatypes=true"],
9393
Pull = true,
9494
NoCache = true,
9595
Provenance = false,

0 commit comments

Comments
 (0)