Skip to content
Myr

Support arm/v7 architecture in Docker images (#3463)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by itchyny · committed by GitHub · parent ea9e41f · Browse files · 1 file+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:.github/workflows/ci.yml+4 added-3 removed
308 unmodified lines
309 pattern: jq-linux-*310 merge-multiple: true311 - name: Move executables312 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-*315 mv jq-linux-i386 linux/386/jq316 mv jq-linux-amd64 linux/amd64/jq317 mv jq-linux-arm64 linux/arm64/jq318 mv jq-linux-armhf linux/arm/v7/jq319 mv jq-linux-mips64el linux/mips64le/jq320 mv jq-linux-ppc64el linux/ppc64le/jq321 mv jq-linux-riscv64 linux/riscv64/jq322 mv jq-linux-s390x linux/s390x/jq321 chmod +x linux/*/jq323 - name: Create Dockerfile324 run: |325 cat <<'EOF' >Dockerfile326 FROM scratch
27 unmodified lines
354 with:355 context: .356 push: ${{ startsWith(github.ref, 'refs/tags/jq-') }}357 provenance: false357 platforms: linux/386,linux/amd64,linux/arm64,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x358 platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x359 tags: ${{ steps.metadata.outputs.tags }}360 labels: ${{ steps.metadata.outputs.labels }}361 - name: Generate signed attestations362 if: startsWith(github.ref, 'refs/tags/jq-')
63 unmodified lines