carry0987/Docker Digest Builder
Build and push a single-platform Docker image by digest, then upload it as an artifact for multi-arch manifest merging.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 28, 2026
- License
- MIT
Pinned Snippet
uses: carry0987/docker-digest-builder@7695377dfb414556402cc2cb9b5c0f02047e9613 # v1.6.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| image | Full image name (e.g. ghcr.io/org/app) | yes | — |
| platform | Target platform (e.g. linux/amd64) | yes | — |
| file | Path to Dockerfile | no | ./Dockerfile |
| context | Build context path | no | . |
| build-args | Build arguments (multi-line) | no | "" |
| provenance | Whether to embed provenance attestation (enables unknown/unknown platform entry) | no | true |
| sbom | Whether to embed SBOM attestation (enables extra unknown/unknown platform entry) | no | false |
| pull | Always pull the latest base image | no | false |
| cache-scope | GitHub Actions cache scope (defaults to platform slug) | no | "" |
| artifact-name-prefix | Artifact name prefix for the digest upload | no | digests |
| retention-days | Number of days to retain the digest artifact | no | 1 |
Outputs
| name | description |
|---|---|
| digest | The sha256 digest of the pushed image |