Skip to content

Commit 8372a7e

Browse files
committed
install docker
1 parent 76d6603 commit 8372a7e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/build-deps.yml

+5
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ jobs:
6464
uses: actions/setup-dotnet@v4
6565
with:
6666
dotnet-version: '8.0.x'
67+
-
68+
name: Set up Docker
69+
uses: crazy-max/ghaction-setup-docker@v3
70+
with:
71+
version: 'v25.0.2'
6772
-
6873
name: Setup QEMU
6974
uses: docker/setup-qemu-action@v3

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=oci,dest={TarName},oci-mediatypes=true"],
92+
Output = [$"type=docker,oci-mediatypes=true"],
9393
Pull = true,
9494
NoCache = true,
9595
// Load = true,

0 commit comments

Comments
 (0)