Skip to content

Development

Jonas Brømsø edited this page Dec 29, 2022 · 17 revisions

The primary notes on development of this repository is included in the README. This page contains notes on tips and tricks for developing on the Spellcheck GitHub Action. I mostly write these for myself, since I forget the small things.

Building the Docker image for DockerHub

docker build -t jonasbn/github-action-spellcheck:latest .

When building on Apple silicon (M1), this additional parameter --platform has to be specified and set to linux/amd64 for use with GitHub actions etc.

docker build --platform linux/amd64 -t jonasbn/github-action-spellcheck:latest .

If not specifying the parameter the architecture will be: arm64

You can see the the architecture of your image like so:

docker image inspect jonasbn/github-action-spellcheck:latest |grep -i architecture

REF: Blog post: "Create docker image on Apple Silicon M1 Mac" by Lakhan Samani.