Commit c4c7c11 1 parent e8e47c0 commit c4c7c11 Copy full SHA for c4c7c11
File tree 3 files changed +18
-7
lines changed
3 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ jobs:
67
67
-
68
68
name : Setup QEMU
69
69
uses : docker/setup-qemu-action@v3
70
- -
71
- name : Setup Docker Buildx
72
- uses : docker/setup-buildx-action@v3
73
- with :
74
- version : ' latest'
75
- driver-opts : ' image=moby/buildkit:buildx-stable-1'
76
- install : true
70
+ # -
71
+ # name: Setup Docker Buildx
72
+ # uses: docker/setup-buildx-action@v3
73
+ # with:
74
+ # version: 'latest'
75
+ # driver-opts: 'image=moby/buildkit:buildx-stable-1'
76
+ # install: true
77
77
-
78
78
name : Login to DockerHub
79
79
if : success() && env.PUSH_IMAGES == 'true'
Original file line number Diff line number Diff line change @@ -59,9 +59,11 @@ protected virtual DockerBuildXBuildSettings GetBuildSettings(DockerDepsImage doc
59
59
Rm = true ,
60
60
Tag = dockerTags ,
61
61
Platform = [ $ "linux/{ suffix } "] ,
62
+ Builder = "gittools" ,
62
63
Output = [ "type=docker,oci-mediatypes=true" ] ,
63
64
Pull = true ,
64
65
NoCache = true ,
66
+ Load = true ,
65
67
Label =
66
68
[
67
69
"maintainers=GitTools Maintainers" ,
Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ public sealed class DockerBuildDeps : DockerBaseTask
8
8
{
9
9
public override void Run ( BuildContext context )
10
10
{
11
+ context . DockerBuildXCreate ( new DockerBuildXCreateSettings
12
+ {
13
+ Name = "gittools" ,
14
+ Driver = "docker-container" ,
15
+ DriverOpt = [ "image=moby/buildkit:buildx-stable-1" ] ,
16
+ Use = true
17
+ } ) ;
18
+ context . DockerBuildXUse ( "gittools" ) ;
11
19
// build/push images
12
20
foreach ( var dockerImage in context . DepsImages )
13
21
{
@@ -23,6 +31,7 @@ public override void Run(BuildContext context)
23
31
var dockerImage = group . First ( ) ;
24
32
DockerManifest ( context , dockerImage ) ;
25
33
}
34
+ context . DockerBuildXRm ( "gittools" ) ;
26
35
}
27
36
28
37
protected override DirectoryPath GetWorkingDir ( DockerDepsImage dockerImage ) =>
You can’t perform that action at this time.
0 commit comments