{"id":15688230,"url":"https://github.com/int128/docker-manifest-create-action","last_synced_at":"2026-06-06T23:01:40.787Z","repository":{"id":63511040,"uuid":"568314608","full_name":"int128/docker-manifest-create-action","owner":"int128","description":"Create a multi-architectures container image in GitHub Actions","archived":false,"fork":false,"pushed_at":"2026-01-24T18:15:17.000Z","size":3665,"stargazers_count":15,"open_issues_count":12,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-25T07:35:13.928Z","etag":null,"topics":["buildkit","docker","github-actions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/int128.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-20T05:51:17.000Z","updated_at":"2026-01-24T18:15:21.000Z","dependencies_parsed_at":"2024-01-17T17:07:01.141Z","dependency_job_id":"2bd9f136-3063-4456-82e2-17613b12ca3e","html_url":"https://github.com/int128/docker-manifest-create-action","commit_stats":{"total_commits":595,"total_committers":3,"mean_commits":"198.33333333333334","dds":0.04873949579831938,"last_synced_commit":"abeb8d9e2ede4f50e7ef7dee9b3c8bf5f71251f0"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":"int128/typescript-action","purl":"pkg:github/int128/docker-manifest-create-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fdocker-manifest-create-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fdocker-manifest-create-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fdocker-manifest-create-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fdocker-manifest-create-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/int128","download_url":"https://codeload.github.com/int128/docker-manifest-create-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fdocker-manifest-create-action/sbom","scorecard":{"id":406162,"data":{"date":"2025-08-11","repo":{"name":"github.com/int128/docker-manifest-create-action","commit":"62c1148fdb5a7c5f607d2450ce200dcd8417f39b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/e2e-docker.yaml:1","Warn: no topLevel permission defined: .github/workflows/e2e-kaniko.yaml:1","Warn: no topLevel permission defined: .github/workflows/release.yaml:1","Warn: no topLevel permission defined: .github/workflows/reusable--docker-build.yaml:1","Warn: no topLevel permission defined: .github/workflows/ts.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: containerImage not pinned by hash: tests/fixtures/Dockerfile:1: pin your Docker image by updating debian:stable to debian:stable@sha256:cd50e36013f749a1f86c6369b873e1ad607335480dc4bc2905396ec17ab0ce02","Warn: npmCommand not pinned by hash: .github/workflows/e2e-docker.yaml:55","Warn: npmCommand not pinned by hash: .github/workflows/e2e-kaniko.yaml:64","Warn: npmCommand not pinned by hash: .github/workflows/release.yaml:23","Warn: npmCommand not pinned by hash: .github/workflows/ts.yaml:31","Warn: npmCommand not pinned by hash: .github/workflows/ts.yaml:44","Info:  12 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:  18 out of  18 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   5 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-9qxr-qj54-h672","Warn: Project is vulnerable to: GHSA-m4v8-wqvr-p9f7","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T21:18:31.828Z","repository_id":63511040,"created_at":"2025-08-18T21:18:31.828Z","updated_at":"2025-08-18T21:18:31.828Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29178705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T20:14:21.878Z","status":"ssl_error","status_checked_at":"2026-02-06T20:14:21.443Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["buildkit","docker","github-actions"],"created_at":"2024-10-03T17:56:23.970Z","updated_at":"2026-02-06T22:09:50.088Z","avatar_url":"https://github.com/int128.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-manifest-create-action [![ts](https://github.com/int128/docker-manifest-create-action/actions/workflows/ts.yaml/badge.svg)](https://github.com/int128/docker-manifest-create-action/actions/workflows/ts.yaml)\n\nThis is an action to create a multi-architectures container image in GitHub Actions.\nIt is interoperable with [docker/metadata-action](https://github.com/docker/metadata-action).\n\n## Migration from V1 to V2\n\nThis action no longer supports the `suffixes` input.\nYou need to set an image URI with a digest or tag.\nIf you use docker/build-push-action, you can construct an image URI from the outputs as follows:\n\n```yaml\n- uses: docker/build-push-action@v5\n  id: build-amd64\n  with: # ...omit...\n- uses: docker/build-push-action@v5\n  id: build-arm64\n  with: # ...omit...\n\n- uses: int128/docker-manifest-create-action@v2\n  with:\n    tags: ghcr.io/${{ github.repository }}:main\n    sources: |\n      ghcr.io/${{ github.repository }}@${{ steps.build-amd64.outputs.digest }}\n      ghcr.io/${{ github.repository }}@${{ steps.build-arm64.outputs.digest }}\n```\n\n## Getting Started\n\nWhen we build a multi-architectures image using [docker/build-push-action](https://github.com/docker/build-push-action), it takes a long time to build all platforms in a single job.\nIt would be nice to build images in parallel and finally create a multi-architectures image from them.\n\n```mermaid\ngraph LR\n  m[Image REGISTRY/REPOSITORY:TAG]\n  amd64[Image REGISTRY/REPOSITORY:TAG-linux-amd64] --\u003e m\n  arm64[Image REGISTRY/REPOSITORY:TAG-linux-arm64] --\u003e m\n  ppc64le[Image REGISTRY/REPOSITORY:TAG-linux-ppc64le] --\u003e m\n```\n\nWe can create a multi-architectures image by the below commands.\n\n```sh\n# push a manifest of multi-architecture image\ndocker buildx imagetools create -t REGISTRY/REPOSITORY:TAG \\\n  REGISTRY/REPOSITORY:TAG-linux-amd64 \\\n  REGISTRY/REPOSITORY:TAG-linux-arm64 \\\n  REGISTRY/REPOSITORY:TAG-linux-ppc64le\n\n# verify the manifest\ndocker buildx imagetools inspect REGISTRY/REPOSITORY:TAG\n```\n\nThis action runs the above commands for each tag.\n\n```yaml\n- uses: int128/docker-manifest-create-action@v2\n  with:\n    tags: |\n      REGISTRY/REPOSITORY:TAG\n    sources: |\n      REGISTRY/REPOSITORY:TAG-linux-amd64\n      REGISTRY/REPOSITORY:TAG-linux-arm64\n      REGISTRY/REPOSITORY:TAG-linux-ppc64le\n```\n\nSee also the following docs:\n\n- [`docker buildx imagetools create`](https://docs.docker.com/engine/reference/commandline/buildx_imagetools_create/)\n- [Create and push a manifest list](https://docs.docker.com/engine/reference/commandline/manifest/#create-and-push-a-manifest-list) (Docker)\n- [Pushing a multi-architecture image](https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-multi-architecture-image.html) (Amazon ECR)\n\n## Examples\n\n### Basic usage\n\nHere is an example workflow to build a multi-architectures image for `linux/amd64` and `linux/arm64`.\n\n```yaml\njobs:\n  build-linux-amd64:\n    uses: ./.github/workflows/reusable--docker-build.yaml\n    with:\n      images: ghcr.io/${{ github.repository }}\n      platforms: linux/amd64\n\n  build-linux-arm64:\n    uses: ./.github/workflows/reusable--docker-build.yaml\n    with:\n      images: ghcr.io/${{ github.repository }}\n      platforms: linux/arm64\n\n  build:\n    needs:\n      - build-linux-amd64\n      - build-linux-arm64\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    outputs:\n      image-uri: ghcr.io/${{ github.repository }}@${{ steps.build.outputs.digest }}\n    steps:\n      - uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - uses: docker/metadata-action@v5\n        id: metadata\n        with:\n          images: ghcr.io/${{ github.repository }}\n      - uses: int128/docker-manifest-create-action@v2\n        id: build\n        with:\n          index-annotations: ${{ steps.metadata.outputs.labels }}\n          tags: ${{ steps.metadata.outputs.tags }}\n          sources: |\n            ghcr.io/${{ github.repository }}@${{ needs.build-linux-amd64.outputs.digest }}\n            ghcr.io/${{ github.repository }}@${{ needs.build-linux-arm64.outputs.digest }}\n```\n\nHere is the diagram of this workflow.\n\n```mermaid\ngraph TB\n  subgraph Workflow\n    build-linux-amd64 --\u003e build\n    build-linux-arm64 --\u003e build\n  end\n```\n\nFor details, see the following workflows:\n\n- [`.github/workflows/e2e-docker.yaml`](.github/workflows/e2e-docker.yaml)\n- [`.github/workflows/reusable--docker-build.yaml`](.github/workflows/reusable--docker-build.yaml)\n- [`.github/workflows/e2e-kaniko.yaml`](.github/workflows/e2e-kaniko.yaml)\n\n### Native build on the self-hosted runners\n\nIf you are using the self-hosted runners, you can build an image faster.\nFor example, you can natively build an `arm64` image on AWS Graviton 2.\n\nHere is an example workflow.\n\n```yaml\njobs:\n  build-linux-amd64:\n    uses: ./.github/workflows/reusable--docker-build.yaml\n    with:\n      runs-on: self-hosted-amd64\n\n  build-linux-arm64:\n    uses: ./.github/workflows/reusable--docker-build.yaml\n    with:\n      runs-on: self-hosted-arm64\n\n  build:\n    needs:\n      - build-linux-amd64\n      - build-linux-arm64\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    permissions:\n      contents: read\n      id-token: write\n    outputs:\n      image-uri: ${{ steps.ecr.outputs.registry }}/${{ github.repository }}@${{ steps.build.outputs.digest }}\n    steps:\n      - uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: arn:aws:iam::ACCOUNT:role/ROLE\n      - uses: aws-actions/amazon-ecr-login@v3\n        id: ecr\n      - uses: docker/metadata-action@v5\n        id: metadata\n        with:\n          images: ${{ steps.ecr.outputs.registry }}/${{ github.repository }}\n      - uses: int128/docker-manifest-create-action@v2\n        id: build\n        with:\n          index-annotations: ${{ steps.metadata.outputs.labels }}\n          tags: ${{ steps.metadata.outputs.tags }}\n          sources: |\n            ${{ steps.ecr.outputs.registry }}/${{ github.repository }}@${{ needs.build-linux-amd64.outputs.digest }}\n            ${{ steps.ecr.outputs.registry }}/${{ github.repository }}@${{ needs.build-linux-arm64.outputs.digest }}\n```\n\n## Specification\n\nThis action requires Docker Buildx.\n\n### Inputs\n\n| Name                | Default                      | Description                                            |\n| ------------------- | ---------------------------- | ------------------------------------------------------ |\n| `push`              | `true`                       | Push the manifest to the registry                      |\n| `index-annotations` | -                            | Add annotations to the image index (multi-line string) |\n| `tags`              | (required if `push` is true) | Tags of the destination images (multi-line string)     |\n| `sources`           | (required)                   | Image URIs of the sources (multi-line string)          |\n\nIf `push` is false, this action runs `docker buildx imagetools create --dry-run`.\n\nIf `index-annotations` is set, this action adds `--annotation`.\nSee https://docs.docker.com/engine/reference/commandline/buildx_imagetools_create/#annotation for details.\n\n### Outputs\n\n| Name     | Description                    |\n| -------- | ------------------------------ |\n| `digest` | Digest of the created manifest |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint128%2Fdocker-manifest-create-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fint128%2Fdocker-manifest-create-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint128%2Fdocker-manifest-create-action/lists"}