Skip to content

Commit ce8e006

Browse files
committed
fix buildx
1 parent 04ff24b commit ce8e006

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,13 @@ jobs:
379379
password: ${{ secrets.DOCKER_PASSWORD }}
380380

381381
- name: Build and push
382-
id: docker_build
383-
uses: docker/build-push-action@v4
382+
if: github.event_name != 'pull_request'
383+
uses: docker/build-push-action@v6
384+
env:
385+
DOCKER_BUILDKIT: 1
384386
with:
387+
provenance: false
388+
builder: ${{ steps.buildx.outputs.name }}
385389
context: ${{ github.workspace }}
386390
file: ${{ github.workspace }}/${{ matrix.BUILD_IMAGE_DOCKERFILE }}
387391
push: true
@@ -390,5 +394,4 @@ jobs:
390394
COMMANDBOX_VERSION=${{ env.commandbox_version }}
391395
BASE_IMAGE_ARG=${{ env.ACTUAL_BASE_IMAGE }}
392396
platforms: ${{ env.arch_platforms }}
393-
builder: buildx-multi-arch
394397
tags: ${{ env.IMAGE_TAG }}

0 commit comments

Comments
 (0)