Skip to content

Commit 31d3502

Browse files
committed
update build-image.yaml
1 parent 02d6b9c commit 31d3502

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-image.yaml

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

33
env:
4-
PLATFORMS: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
4+
IMAGE_PLATFORMS: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
55

66
on:
77
workflow_dispatch:
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up QEMU
4646
uses: docker/setup-qemu-action@v1
4747
with:
48-
platforms: ${PLATFORMS}
48+
platforms: "${IMAGE_PLATFORMS}"
4949
- name: Set up Docker Buildx
5050
id: buildx
5151
uses: docker/setup-buildx-action@v1
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
builder: ${{ steps.buildx.outputs.name }}
5757
context: ./docker-image/
58-
platforms: ${PLATFORMS}
58+
platforms: "${IMAGE_PLATFORMS}"
5959
push: true
6060
tags: |
6161
ghcr.io/${GITHUB_REPOSITORY}:latest

0 commit comments

Comments
 (0)