Skip to content

Commit 0dbcf79

Browse files
committed
update build-image.yaml
1 parent 31d3502 commit 0dbcf79

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build-image.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Build docker Image
22

3-
env:
4-
IMAGE_PLATFORMS: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
5-
63
on:
74
workflow_dispatch:
85
push:
@@ -45,7 +42,7 @@ jobs:
4542
- name: Set up QEMU
4643
uses: docker/setup-qemu-action@v1
4744
with:
48-
platforms: "${IMAGE_PLATFORMS}"
45+
platforms: all
4946
- name: Set up Docker Buildx
5047
id: buildx
5148
uses: docker/setup-buildx-action@v1
@@ -55,7 +52,7 @@ jobs:
5552
with:
5653
builder: ${{ steps.buildx.outputs.name }}
5754
context: ./docker-image/
58-
platforms: "${IMAGE_PLATFORMS}"
55+
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
5956
push: true
6057
tags: |
6158
ghcr.io/${GITHUB_REPOSITORY}:latest

0 commit comments

Comments
 (0)