Skip to content

Instantly share code, notes, and snippets.

@martin-g
Created March 18, 2020 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martin-g/fc8ecab291796439157015e2f5c24843 to your computer and use it in GitHub Desktop.
Save martin-g/fc8ecab291796439157015e2f5c24843 to your computer and use it in GitHub Desktop.
Possible circleci-multiarch-support
jobs:
setup-multiarch:
machine: true
steps:
- run:
name: Setup Multiarch
command: docker run --rm --privileged multiarch/qemu-user-static:register
on-amd64:
docker: ubuntu:bionic
steps:
- run:
name: Print arch
command: uname -m # will print x86_64
on-arm64:
docker: arm64v8/ubuntu:bionic
steps:
- run:
name: Print arch
command: uname -m # will print aarch64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment