@@ -18,13 +18,13 @@ jobs:
1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v6
2222
2323 - name : Set up Docker Buildx
24- uses : docker/setup-buildx-action@v3
24+ uses : docker/setup-buildx-action@v4
2525
2626 - name : Build image
27- uses : docker/build-push-action@v5
27+ uses : docker/build-push-action@v7
2828 with :
2929 context : .
3030 push : false
@@ -35,26 +35,25 @@ jobs:
3535 runs-on : ubuntu-latest
3636 steps :
3737 - name : Checkout
38- uses : actions/checkout@v4
38+ uses : actions/checkout@v6
3939
4040 - name : Set up Docker Buildx with custom config
41- uses : docker/setup-buildx-action@v3
41+ uses : docker/setup-buildx-action@v4
4242 with :
4343 version : latest
4444 driver : docker-container
4545 driver-opts : |
4646 image=moby/buildkit:latest
4747 network=host
4848 buildkitd-flags : --debug
49- install : true
5049 use : true
5150 endpoint : unix:///var/run/docker.sock
52- config-inline : |
51+ buildkitd- config-inline : |
5352 [registry."docker.io"]
5453 mirrors = ["mirror.gcr.io"]
5554
5655 - name : Build with build args and secrets
57- uses : docker/build-push-action@v5
56+ uses : docker/build-push-action@v7
5857 with :
5958 context : .
6059 file : ./Dockerfile
@@ -74,20 +73,20 @@ jobs:
7473 runs-on : ubuntu-latest
7574 steps :
7675 - name : Checkout
77- uses : actions/checkout@v4
76+ uses : actions/checkout@v6
7877
7978 - name : Set up QEMU
80- uses : docker/setup-qemu-action@v3
79+ uses : docker/setup-qemu-action@v4
8180 with :
8281 platforms : linux/amd64,linux/arm64,linux/arm/v7
8382
8483 - name : Set up Docker Buildx
85- uses : docker/setup-buildx-action@v3
84+ uses : docker/setup-buildx-action@v4
8685 with :
8786 platforms : linux/amd64,linux/arm64,linux/arm/v7
8887
8988 - name : Build multi-platform with cache
90- uses : docker/build-push-action@v5
89+ uses : docker/build-push-action@v7
9190 with :
9291 context : .
9392 platforms : linux/amd64,linux/arm64,linux/arm/v7
@@ -103,21 +102,21 @@ jobs:
103102 if : github.event.inputs.push_image == 'true'
104103 steps :
105104 - name : Checkout
106- uses : actions/checkout@v4
105+ uses : actions/checkout@v6
107106
108107 - name : Set up Docker Buildx
109- uses : docker/setup-buildx-action@v3
108+ uses : docker/setup-buildx-action@v4
110109
111110 - name : Log in to Container Registry
112- uses : docker/login-action@v3
111+ uses : docker/login-action@v4
113112 with :
114113 registry : ${{ env.REGISTRY }}
115114 username : ${{ github.actor }}
116115 password : ${{ secrets.GITHUB_TOKEN }}
117116
118117 - name : Extract metadata
119118 id : meta
120- uses : docker/metadata-action@v5
119+ uses : docker/metadata-action@v6
121120 with :
122121 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
123122 tags : |
@@ -129,7 +128,7 @@ jobs:
129128 type=raw,value=latest,enable={{is_default_branch}}
130129
131130 - name : Build and push with metadata
132- uses : docker/build-push-action@v5
131+ uses : docker/build-push-action@v7
133132 with :
134133 context : .
135134 push : true
@@ -144,16 +143,16 @@ jobs:
144143 runs-on : ubuntu-latest
145144 steps :
146145 - name : Checkout
147- uses : actions/checkout@v4
146+ uses : actions/checkout@v6
148147
149148 - name : Set up Docker Buildx
150- uses : docker/setup-buildx-action@v3
149+ uses : docker/setup-buildx-action@v4
151150 with :
152151 driver-opts : |
153152 image=moby/buildkit:master
154153
155154 - name : Build with multiple cache sources
156- uses : docker/build-push-action@v5
155+ uses : docker/build-push-action@v7
157156 with :
158157 context : .
159158 push : false
@@ -174,16 +173,16 @@ jobs:
174173 runs-on : ubuntu-latest
175174 steps :
176175 - name : Checkout
177- uses : actions/checkout@v4
176+ uses : actions/checkout@v6
178177
179178 - name : Set up Docker Buildx
180- uses : docker/setup-buildx-action@v3
179+ uses : docker/setup-buildx-action@v4
181180 with :
182181 version : v0.12.0
183182 driver : docker-container
184183
185184 - name : Build with SBOM and provenance
186- uses : docker/build-push-action@v5
185+ uses : docker/build-push-action@v7
187186 with :
188187 context : .
189188 push : false
@@ -214,16 +213,16 @@ jobs:
214213 driver : docker
215214 steps :
216215 - name : Checkout
217- uses : actions/checkout@v4
216+ uses : actions/checkout@v6
218217
219218 - name : Set up Docker Buildx
220- uses : docker/setup-buildx-action@v3
219+ uses : docker/setup-buildx-action@v4
221220 with :
222221 version : ${{ matrix.buildx-version }}
223222 driver : ${{ matrix.driver }}
224223
225224 - name : Build with matrix config
226- uses : docker/build-push-action@v5
225+ uses : docker/build-push-action@v7
227226 with :
228227 context : .
229228 push : false
@@ -236,7 +235,7 @@ jobs:
236235 runs-on : ubuntu-latest
237236 steps :
238237 - name : Checkout
239- uses : actions/checkout@v4
238+ uses : actions/checkout@v6
240239
241240 - name : Create docker-bake.hcl
242241 run : |
@@ -257,13 +256,14 @@ jobs:
257256 EOF
258257
259258 - name : Set up Docker Buildx
260- uses : docker/setup-buildx-action@v3
259+ uses : docker/setup-buildx-action@v4
261260 with :
262261 buildkitd-flags : --debug
263262
264263 - name : Build with bake
265- uses : docker/bake-action@v4
264+ uses : docker/bake-action@v7
266265 with :
266+ source : .
267267 targets : |
268268 default
269269 production
@@ -277,15 +277,15 @@ jobs:
277277 runs-on : ubuntu-latest
278278 steps :
279279 - name : Checkout
280- uses : actions/checkout@v4
280+ uses : actions/checkout@v6
281281 with :
282282 fetch-depth : 0
283283
284284 - name : Set up QEMU
285- uses : docker/setup-qemu-action@v3
285+ uses : docker/setup-qemu-action@v4
286286
287287 - name : Set up Docker Buildx
288- uses : docker/setup-buildx-action@v3
288+ uses : docker/setup-buildx-action@v4
289289 with :
290290 version : latest
291291 driver : docker-container
@@ -295,16 +295,15 @@ jobs:
295295 env.BUILDKIT_STEP_LOG_MAX_SIZE=50000000
296296 env.BUILDKIT_STEP_LOG_MAX_SPEED=10000000
297297 buildkitd-flags : --debug --allow-insecure-entitlement security.insecure
298- install : true
299298 use : true
300299 endpoint : unix:///var/run/docker.sock
301300 platforms : linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
302- config-inline : |
301+ buildkitd- config-inline : |
303302 [worker.oci]
304303 max-parallelism = 4
305304
306305 - name : Build with everything
307- uses : docker/build-push-action@v5
306+ uses : docker/build-push-action@v7
308307 with :
309308 context : .
310309 file : ./Dockerfile
@@ -371,23 +370,23 @@ jobs:
371370 runs-on : ubuntu-latest
372371 steps :
373372 - name : Checkout
374- uses : actions/checkout@v4
373+ uses : actions/checkout@v6
375374
376375 - name : Set up first builder
377- uses : docker/setup-buildx-action@v3
376+ uses : docker/setup-buildx-action@v4
378377 with :
379378 driver : docker-container
380379 endpoint : unix:///var/run/docker.sock
381380
382381 - name : Append to builder
383- uses : docker/setup-buildx-action@v3
382+ uses : docker/setup-buildx-action@v4
384383 with :
385384 append : |
386385 - endpoint: ssh://user@remote-host
387386 platforms: linux/arm64,linux/arm/v7
388387
389388 - name : Build with appended builder
390- uses : docker/build-push-action@v5
389+ uses : docker/build-push-action@v7
391390 with :
392391 context : .
393392 push : false
@@ -399,33 +398,33 @@ jobs:
399398 if : github.event.inputs.push_image == 'true'
400399 steps :
401400 - name : Checkout
402- uses : actions/checkout@v4
401+ uses : actions/checkout@v6
403402
404403 - name : Set up Docker Buildx
405- uses : docker/setup-buildx-action@v3
404+ uses : docker/setup-buildx-action@v4
406405
407406 - name : Login to Docker Hub
408- uses : docker/login-action@v3
407+ uses : docker/login-action@v4
409408 with :
410409 username : ${{ secrets.DOCKERHUB_USERNAME }}
411410 password : ${{ secrets.DOCKERHUB_TOKEN }}
412411
413412 - name : Login to GitHub Container Registry
414- uses : docker/login-action@v3
413+ uses : docker/login-action@v4
415414 with :
416415 registry : ghcr.io
417416 username : ${{ github.actor }}
418417 password : ${{ secrets.GITHUB_TOKEN }}
419418
420419 - name : Login to AWS ECR
421- uses : docker/login-action@v3
420+ uses : docker/login-action@v4
422421 with :
423422 registry : ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com
424423 username : ${{ secrets.AWS_ACCESS_KEY_ID }}
425424 password : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
426425
427426 - name : Build and push to multiple registries
428- uses : docker/build-push-action@v5
427+ uses : docker/build-push-action@v7
429428 with :
430429 context : .
431430 push : ${{ github.event.inputs.push_image == 'true' }}
@@ -439,23 +438,23 @@ jobs:
439438 runs-on : ubuntu-latest
440439 steps :
441440 - name : Checkout
442- uses : actions/checkout@v4
441+ uses : actions/checkout@v6
443442
444443 - name : Set up Docker Buildx
445- uses : docker/setup-buildx-action@v3
444+ uses : docker/setup-buildx-action@v4
446445 with :
447446 driver : docker
448447
449448 - name : First build - base image
450- uses : docker/build-push-action@v5
449+ uses : docker/build-push-action@v7
451450 with :
452451 context : .
453452 target : base
454453 tags : test/base:latest
455454 outputs : type=docker
456455
457456 - name : Second build - production image
458- uses : docker/build-push-action@v5
457+ uses : docker/build-push-action@v7
459458 with :
460459 context : .
461460 target : production
0 commit comments