Skip to content

Setup multi-platform docker build#697

Merged
sinaatalay merged 1 commit into
rendercv:mainfrom
quentinms:main
Mar 20, 2026
Merged

Setup multi-platform docker build#697
sinaatalay merged 1 commit into
rendercv:mainfrom
quentinms:main

Conversation

@quentinms
Copy link
Copy Markdown
Contributor

See: https://docs.docker.com/build/ci/github-actions/multi-platform/

Avoids getting the following warning when running on an ARM mac, or having to pass --arch amd64 when using Apple's container

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Tested locally by running

docker build --platform linux/arm64,linux/amd64  -t render:qms -f Dockerfile .

And then verifying that I'm not getting the warning when

docker run -v "$PWD":/work -w /work render:qms render cv.yaml

It might need some tweaks when running in Github Actions, we'll have to test.

See: https://docs.docker.com/build/ci/github-actions/multi-platform/

Avoids getting this warning when running on an ARM mac, or having to pass `--arch amd64` when using Apple's [`container`](https://github.com/apple/container)

> WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Tested locally by running

```sh
docker build --platform linux/arm64,linux/amd64  -t render:qms -f Dockerfile .
```

And then verifying that I'm not getting the warning when

```sh
docker run -v "$PWD":/work -w /work render:qms render cvyaml
```

It might need some tweaks when running in Github Actions, we'll have to test.
@quentinms quentinms marked this pull request as ready for review March 15, 2026 19:11
@sinaatalay
Copy link
Copy Markdown
Member

Thank you.

@sinaatalay sinaatalay merged commit 7d426c7 into rendercv:main Mar 20, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants