invicton-labs/Cached Docker Build
Runs a Docker build using buildx and a GitHub cache.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image_repository_url | The URL of the repository to use for the Docker image. Leave as an empty string if you do not want to push an image. | no | "" |
| image_repository_username | The username for logging into the repository to use for the Docker image. | no | "" |
| image_repository_password | The password for logging into the repository to use for the Docker image. | no | "" |
| build_args | Build arguments for docker build. | no | "" |
| platforms | A comma-separated list of platforms to build for (e.g. `linux/amd64,linux/arm64,linux/arm/v7`). | no | linux/amd64 |
| do_checkout | Whether or not to checkout the source repository. | no | false |
| source_directory | The directory for the source code for the build. If `do_checkout` is `true`, this will be the directory that the repository is checked out to. If `do_checkout` if `false`, this must be the directory where the source code can be found. | no | ./source-repo/ |
| latest_tag_method | "auto" to add the "latest" tag on all Git tag pushes, "true" to add the "latest" tag to all pushes, or "false" to never use the "latest" tag. Must be "false" (default) for immutable repositories. | no | false |
Outputs
| name | description |
|---|---|
| commit_hash_short | The first 7 characters of the commit hash. |
| tagged_image | The image name (with tag) for the runtime image that was pushed to the image repository. |
| registry_domain | The domain of the registry that the image was pushed to. |