Skip to content

v3.1.0

Latest

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 20 Jul 17:06
fix: install jq 1.7.1 to support arm64 runners (#106) Igor Rodionov (@goruha) (#107) ## what * Bumps the pinned `jq` version installed by `dcarbone/install-jq-action@v3.2.0` from `1.6` to `1.7.1`. * Set default value `drive-opt` from `image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1` to `image=mirror.gcr.io/moby/buildkit:buildx-stable-1`

why

This action fails on arm64 GitHub-hosted / self-hosted runners with:

Cannot handle "ARM64" architecture for os "Linux"
Error: Process completed with exit code 1.

Root cause: dcarbone/install-jq-action@v3.2.0 routes jq 1.5/1.6 installs through scripts/unixish.sh, which only maps Linux binaries for 386/amd64. This is because jq 1.6 (published under stedolan/jq) never shipped a linux-arm64 release asset — arm64 support only arrived with jq 1.7 (published under jqlang/jq), which does publish a jq-linux-arm64 asset.

dcarbone/install-jq-action already added arm64 support for jq 1.7+ via scripts/unixish-17.sh — this action just needs to request a 1.7+ version to use that code path. 1.7.1 is used here (rather than plain 1.7) because it's the patch release fixing known regressions in the initial 1.7 release, and it matches install-jq-action's own default version input.

Resolves #68.

  • Solved docker startup too many requests problem

references

Jon Beilke (@jrbeilke) author