File tree 5 files changed +14
-35
lines changed
5 files changed +14
-35
lines changed Original file line number Diff line number Diff line change 40
40
tags : ${{ steps.set.outputs.tags }}
41
41
includes : ${{ steps.set.outputs.includes }}
42
42
steps :
43
- -
44
- name : Checkout
45
- uses : actions/checkout@v4
46
- -
47
- name : Expose GitHub Runtime
48
- uses : crazy-max/ghaction-github-runtime@v3
49
43
-
50
44
name : Set up QEMU
51
45
uses : docker/setup-qemu-action@v3
89
83
});
90
84
-
91
85
name : Build
92
- uses : docker/bake-action@v5
86
+ uses : docker/bake-action@v6
93
87
with :
94
88
targets : integration-tests-base
95
89
set : |
@@ -155,7 +149,7 @@ jobs:
155
149
buildkitd-flags : --debug
156
150
-
157
151
name : Build test image
158
- uses : docker/bake-action@v5
152
+ uses : docker/bake-action@v6
159
153
with :
160
154
targets : integration-tests
161
155
set : |
Original file line number Diff line number Diff line change @@ -152,11 +152,6 @@ jobs:
152
152
# required to check out the repository
153
153
contents : read
154
154
steps :
155
- -
156
- name : Checkout
157
- uses : actions/checkout@v4
158
- with :
159
- fetch-depth : 0
160
155
-
161
156
name : Set up Docker Buildx
162
157
uses : docker/setup-buildx-action@v3
@@ -166,7 +161,7 @@ jobs:
166
161
buildkitd-flags : --debug
167
162
-
168
163
name : Run
169
- uses : docker/bake-action@v5
164
+ uses : docker/bake-action@v6
170
165
with :
171
166
targets : govulncheck
172
167
env :
Original file line number Diff line number Diff line change 39
39
run : |
40
40
platform=${{ matrix.platform }}
41
41
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
42
- -
43
- name : Checkout
44
- uses : actions/checkout@v4
45
42
-
46
43
name : Set up Docker Buildx
47
44
uses : docker/setup-buildx-action@v3
51
48
buildkitd-flags : --debug
52
49
-
53
50
name : Build
54
- uses : docker/bake-action@v5
51
+ uses : docker/bake-action@v6
55
52
with :
56
53
provenance : false
57
54
targets : binaries-for-test
@@ -240,9 +237,6 @@ jobs:
240
237
- linux/amd64
241
238
- linux/arm64
242
239
steps :
243
- -
244
- name : Checkout
245
- uses : actions/checkout@v4
246
240
-
247
241
name : Set up QEMU
248
242
uses : docker/setup-qemu-action@v3
@@ -255,7 +249,7 @@ jobs:
255
249
buildkitd-flags : --debug
256
250
-
257
251
name : Build
258
- uses : docker/bake-action@v5
252
+ uses : docker/bake-action@v6
259
253
with :
260
254
targets : integration-tests-base
261
255
set : |
Original file line number Diff line number Diff line change @@ -23,16 +23,17 @@ jobs:
23
23
prepare :
24
24
runs-on : ubuntu-24.04
25
25
outputs :
26
- targets : ${{ steps.targets .outputs.matrix }}
26
+ targets : ${{ steps.generate .outputs.targets }}
27
27
steps :
28
28
-
29
29
name : Checkout
30
30
uses : actions/checkout@v4
31
31
-
32
- name : Matrix
33
- id : targets
34
- run : |
35
- echo "matrix=$(docker buildx bake validate --print | jq -cr '.target | keys')" >> $GITHUB_OUTPUT
32
+ name : List targets
33
+ id : generate
34
+ uses : docker/bake-action/subaction/list-targets@v6
35
+ with :
36
+ target : validate
36
37
37
38
validate :
38
39
runs-on : ubuntu-24.04
49
50
if [ "$GITHUB_REPOSITORY" = "moby/buildkit" ]; then
50
51
echo "GOLANGCI_LINT_MULTIPLATFORM=1" >> $GITHUB_ENV
51
52
fi
52
- -
53
- name : Checkout
54
- uses : actions/checkout@v4
55
53
-
56
54
name : Set up Docker Buildx
57
55
uses : docker/setup-buildx-action@v3
@@ -61,16 +59,13 @@ jobs:
61
59
buildkitd-flags : --debug
62
60
-
63
61
name : Validate
64
- uses : docker/bake-action@v5
62
+ uses : docker/bake-action@v6
65
63
with :
66
64
targets : ${{ matrix.target }}
67
65
68
66
archutil-arm64 :
69
67
runs-on : ubuntu-24.04
70
68
steps :
71
- -
72
- name : Checkout
73
- uses : actions/checkout@v4
74
69
-
75
70
name : Set up QEMU
76
71
uses : docker/setup-qemu-action@v3
83
78
buildkitd-flags : --debug
84
79
-
85
80
name : Validate
86
- uses : docker/bake-action@v5
81
+ uses : docker/bake-action@v6
87
82
with :
88
83
targets : validate-archutil
89
84
set : |
Original file line number Diff line number Diff line change @@ -268,6 +268,7 @@ target "validate-dockerfile" {
268
268
]
269
269
}
270
270
name = " validate-dockerfile-${ md5 (dockerfile)} "
271
+ inherits = [" _common" ]
271
272
dockerfile = dockerfile
272
273
call = " check"
273
274
}
You can’t perform that action at this time.
0 commit comments