Skip to content

Commit 2f8044c

Browse files
authored
update docker buildx actions environment (#369)
### Proposed Changes * change 1 * change 2 ### Checklist - [ ] Tests - [ ] Translations - [ ] Security Implications Contemplated (add notes if applicable) ### Additional Info ** any additional useful context or info ** ### Screenshots Original | Updated :-------------------------:|:-------------------------: ** original screenshot ** | ** updated screenshot **
1 parent 4b22692 commit 2f8044c

File tree

4 files changed

+16
-22
lines changed

4 files changed

+16
-22
lines changed

.github/actions/core-cicd/deployment/deploy-docker/action.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ runs:
146146
if: (inputs.docker_registry == 'GHCR.IO' || inputs.docker_registry == 'BOTH') && inputs.do_deploy == 'true'
147147

148148
- name: Set up QEMU
149-
uses: docker/setup-qemu-action@v3.0.0
149+
uses: docker/setup-qemu-action@v3.6.0
150150
with:
151151
image: tonistiigi/binfmt:qemu-v7.0.0-28
152152
platforms: ${{ inputs.docker_platforms }}
@@ -174,14 +174,12 @@ runs:
174174
if: success()
175175

176176
- name: Docker Setup Buildx
177-
uses: docker/setup-buildx-action@v3.0.0
177+
uses: docker/setup-buildx-action@v3.10.0
178178
with:
179-
version: latest
179+
version: v0.20.0 # version of buildx https://github.com/docker/buildx/releases
180180
platforms: ${{ inputs.docker_platforms }}
181-
driver-opts: |
182-
image=moby/buildkit:v0.12.2
183181
- name: Build/Push Docker Image
184-
uses: docker/build-push-action@v5
182+
uses: docker/build-push-action@v6.15.0
185183
with:
186184
context: ${{ steps.setup-context.outputs.docker_context }}
187185
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/cicd_manual_build-docker-context.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,24 @@ jobs:
3333
3434
echo "PLATFORMS=${PLATFORMS}" >> $GITHUB_ENV
3535
- name: Set up QEMU
36-
uses: docker/setup-qemu-action@v3.0.0
36+
uses: docker/setup-qemu-action@v3.6.0
3737
with:
3838
platforms: amd64,arm64
3939
if: github.event.inputs.multi_arch == 'true'
4040
- id: docker-setup-buildx
4141
name: Docker Setup Buildx
42-
uses: docker/setup-buildx-action@v3.0.0
42+
uses: docker/setup-buildx-action@v3.10.0
4343
with:
44+
version: v0.20.0 # version of buildx https://github.com/docker/buildx/releases
4445
platforms: ${{ env.PLATFORMS }}
45-
driver-opts: |
46-
image=moby/buildkit:v0.12.2
4746
if: github.event.inputs.multi_arch == 'true'
4847
- name: Docker Hub login
4948
uses: docker/[email protected]
5049
with:
5150
username: ${{ secrets.DOCKER_USERNAME }}
5251
password: ${{ secrets.DOCKER_TOKEN }}
5352
- name: Build and push
54-
uses: docker/build-push-action@v5.0.0
53+
uses: docker/build-push-action@v6.15.0
5554
with:
5655
context: ./docker/${{ github.event.inputs.context }}
5756
push: ${{ github.event.inputs.push }}

.github/workflows/cicd_manual_build-java-base.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,24 @@ jobs:
3030
3131
echo "PLATFORMS=${PLATFORMS}" >> $GITHUB_ENV
3232
- name: Set up QEMU
33-
uses: docker/setup-qemu-action@v3.0.0
33+
uses: docker/setup-qemu-action@v3.6.0
3434
with:
3535
platforms: amd64,arm64
3636
if: github.event.inputs.multi_arch == 'true'
3737
- id: docker-setup-buildx
3838
name: Docker Setup Buildx
39-
uses: docker/setup-buildx-action@v3.0.0
39+
uses: docker/setup-buildx-action@v3.10.0
4040
with:
41+
version: v0.20.0 # version of buildx https://github.com/docker/buildx/releases
4142
platforms: ${{ env.PLATFORMS }}
42-
driver-opts: |
43-
image=moby/buildkit:v0.12.2
4443
if: github.event.inputs.multi_arch == 'true'
4544
- name: Docker Hub login
4645
uses: docker/[email protected]
4746
with:
4847
username: ${{ secrets.DOCKER_USERNAME }}
4948
password: ${{ secrets.DOCKER_TOKEN }}
5049
- name: Build and push
51-
uses: docker/build-push-action@v5.0.0
50+
uses: docker/build-push-action@v6.15.0
5251
with:
5352
context: ./docker/java-base
5453
push: ${{ github.event.inputs.push }}

.github/workflows/legacy-release_comp_maven-build-docker-image.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,24 +256,22 @@ jobs:
256256
if: success()
257257

258258
- name: Set up QEMU
259-
uses: docker/setup-qemu-action@v3.0.0
259+
uses: docker/setup-qemu-action@v3.6.0
260260
with:
261261
image: tonistiigi/binfmt:qemu-v7.0.0-28
262262
platforms: ${{ inputs.docker_platforms }}
263263
if: success()
264264

265265
- name: Docker Setup Buildx
266266
id: docker-setup-buildx
267-
uses: docker/setup-buildx-action@v3.0.0
267+
uses: docker/setup-buildx-action@v3.10.0
268268
with:
269-
version: latest
269+
version: v0.20.0 # version of buildx https://github.com/docker/buildx/releases
270270
platforms: ${{ inputs.docker_platforms }}
271-
driver-opts: |
272-
image=moby/buildkit:v0.12.2
273271
if: success()
274272

275273
- name: Build/Push Docker Image
276-
uses: docker/build-push-action@v5
274+
uses: docker/build-push-action@v6.15.0
277275
with:
278276
context: ${{ env.DOCKER_BUILD_CONTEXT }}/context
279277
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)