Skip to content

Commit 99b3f42

Browse files
committed
push
1 parent a1b9b14 commit 99b3f42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/build/Tasks/DockerBaseTask.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ protected virtual void DockerImage(BuildContext context, DockerDepsImage dockerI
1010
var buildSettings = GetBuildSettings(dockerImage, context.DockerRegistry, tarPath);
1111

1212
context.DockerBuildXBuild(buildSettings, GetWorkingDir(dockerImage).ToString(), "--annotation \"org.opencontainers.image.description=GitTools build images\"");
13-
context.DockerLoad(new() { Input = tarPath });
13+
// context.DockerLoad(new() { Input = tarPath });
1414
var dockerTags = GetDockerTags(dockerImage, context.DockerRegistry, dockerImage.Architecture).ToArray();
1515

1616
if (!context.PushImages)
@@ -51,6 +51,7 @@ protected virtual DockerBuildXBuildSettings GetBuildSettings(DockerDepsImage doc
5151
Platform = [$"linux/{suffix}"],
5252
Output = [$"type=oci,dest={tarPath}"],
5353
Pull = true,
54+
Push = true,
5455
NoCache = true,
5556
/*Label =
5657
[

0 commit comments

Comments
 (0)