Skip to content

Commit d44baeb

Browse files
authored
Support arm/v7 architecture in Docker images (#3463)
1 parent ea9e41f commit d44baeb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,15 +310,16 @@ jobs:
310310
merge-multiple: true
311311
- name: Move executables
312312
run: |
313-
mkdir -p linux/{386,amd64,arm64,mips64le,ppc64le,riscv64,s390x}
313+
mkdir -p linux/{386,amd64,arm64,arm/v7,mips64le,ppc64le,riscv64,s390x}
314+
chmod +x jq-linux-*
314315
mv jq-linux-i386 linux/386/jq
315316
mv jq-linux-amd64 linux/amd64/jq
316317
mv jq-linux-arm64 linux/arm64/jq
318+
mv jq-linux-armhf linux/arm/v7/jq
317319
mv jq-linux-mips64el linux/mips64le/jq
318320
mv jq-linux-ppc64el linux/ppc64le/jq
319321
mv jq-linux-riscv64 linux/riscv64/jq
320322
mv jq-linux-s390x linux/s390x/jq
321-
chmod +x linux/*/jq
322323
- name: Create Dockerfile
323324
run: |
324325
cat <<'EOF' >Dockerfile
@@ -354,7 +355,7 @@ jobs:
354355
context: .
355356
push: ${{ startsWith(github.ref, 'refs/tags/jq-') }}
356357
provenance: false
357-
platforms: linux/386,linux/amd64,linux/arm64,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x
358+
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x
358359
tags: ${{ steps.metadata.outputs.tags }}
359360
labels: ${{ steps.metadata.outputs.labels }}
360361
- name: Generate signed attestations

0 commit comments

Comments
 (0)