{"id":15514701,"url":"https://github.com/nicolas-van/github-actions-multiarch-docker-image-build","last_synced_at":"2025-08-16T10:48:29.570Z","repository":{"id":141046589,"uuid":"450787420","full_name":"nicolas-van/github-actions-multiarch-docker-image-build","owner":"nicolas-van","description":"An example Github Actions configuration to build a Docker image for multiple architectures.","archived":false,"fork":false,"pushed_at":"2022-02-04T12:59:49.000Z","size":35,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T03:16:54.918Z","etag":null,"topics":["docker","multiarch"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicolas-van.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-22T10:41:05.000Z","updated_at":"2022-10-02T10:39:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"992fbd34-426a-4443-a6f7-fbd2c3fde543","html_url":"https://github.com/nicolas-van/github-actions-multiarch-docker-image-build","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-van%2Fgithub-actions-multiarch-docker-image-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-van%2Fgithub-actions-multiarch-docker-image-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-van%2Fgithub-actions-multiarch-docker-image-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-van%2Fgithub-actions-multiarch-docker-image-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolas-van","download_url":"https://codeload.github.com/nicolas-van/github-actions-multiarch-docker-image-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360510,"owners_count":21417721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","multiarch"],"created_at":"2024-10-02T10:00:23.651Z","updated_at":"2025-04-23T03:17:01.029Z","avatar_url":"https://github.com/nicolas-van.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-actions-arm64-docker-image-build\n\n[![Docker Multiarch Image CI](https://github.com/nicolas-van/github-actions-multiarch-docker-image-build/actions/workflows/docker-multiarch-image.yml/badge.svg)](https://github.com/nicolas-van/github-actions-multiarch-docker-image-build/actions/workflows/docker-multiarch-image.yml)\n\nAn example Github Actions configuration to build a Docker image for the following architectures:\n\n* linux/amd64 (typical x86-64 architecture)\n* linux/arm64 (t4g instances on AWS)\n* linux/arm/v7 (newer Raspberry Pis)\n* linux/arm/v6 (older Raspberry Pis)\n\nYou can see the workflow configuration here: [`.github/workflows/docker-multiarch-image.yml`](./.github/workflows/docker-multiarch-image.yml). It should work for most projects as long as a `Dockerfile` exists at the root of the repository. Builds for all architectures are performed on every push and they are published to Github Packages on tags.\n\nThis repository builds an example http server in Node.js displaying a \"Hello World\" for these four architectures. It was tested on the following machines:\n\n* An x86-64 Windows using Docker for Windows.\n* An AWS t4g instance using an ARM64 processor.\n\nNo tests were performed on Raspberry Pis until now because I'm lazy.\n\nYou can test these images yourself by using this command:\n\n```bash\ndocker run --rm -it -p 8080:8080 ghcr.io/nicolas-van/github-actions-multiarch-docker-image-build:latest\n```\n\nIt will run the Docker image and you should be able to see the \"Hello World\" message by connecting to port `8080` using your web browser.\n\nYou can also see metadata about the published Docker images in the [Package page](https://github.com/nicolas-van/github-actions-multiarch-docker-image-build/pkgs/container/github-actions-multiarch-docker-image-build).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolas-van%2Fgithub-actions-multiarch-docker-image-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolas-van%2Fgithub-actions-multiarch-docker-image-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolas-van%2Fgithub-actions-multiarch-docker-image-build/lists"}