beacon-biosignals/Docker Build
Build a Docker image while utilize layer caching from the image repository.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 3, 2026
- License
- MIT
Pinned Snippet
uses: beacon-biosignals/docker-build@2fe0a47c7b40bd141024ec6e0abef83b240b6201 # v1.8.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| image-repository | The Docker image repository to push the build image and cached layers. | yes | — |
| context | The Docker build context directory. | — | . |
| dockerfile | Path to the Dockerfile relative to the `working-directory`. Defaults to `${context}/Dockerfile`. | — | "" |
| build-args | List of build-time variables. | no | — |
| build-secrets | List of secrets to expose to the build. | no | — |
| from-scratch | Do not read from the cache when building the image. Writes to caches will still occur. | — | false |
| cache-mount-ids | List of build cache mount IDs or targets to preserve across builds. By default the IDs are determined from the Dockerfile as specified in `dockerfile`. | — | "" |
| use-layer-caching | Store Docker layer cache data in the `image-repository` to accelerate image building. These cache images are stored using the "cache-*" tag. Typically, should be enabled but it can be useful to disable for debugging purposes. | — | true |
| use-mount-caching | Store data contained within `--mount=type=cache` in GitHub Actions cache entries such that it can be used between image builds in CI workflows. Typically, should be enabled but it can be useful to disable for debugging purposes. | — | true |
Outputs
| name | description |
|---|---|
| image | Reference to the build image including the digest. |
| image-repository | The Docker image repository where the image was pushed to. |
| digest | The built Docker image digest. |
| tags | JSON list of tags associated with the built Docker image. |
| commit-sha | The Git commit SHA used to build the image. |