cloud-army/kaniko - Build Images In Kubernetes
GitHub Action for build/push Docker Images with Kaniko.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| context | Path to the build context. Default to the workspace | no | — |
| file | Path to the Dockerfile. Default to Dockerfile. It must be in the context. If set, this action passes the relative path to Kaniko, same as the behavior of docker build --dockerfile | no | — |
| push | Push an image to the registry. Default to true | no | true |
| tags | List of tags. | yes | — |
| labels | List of metadata labels for an image. | no | — |
| tar_file | Tarball name to save the image, the file is saved into Workspace by default. | no | — |
| build_args | Space separated list of extra build-args (build-time variables) | no | — |
| debug_mode | Set debug mode true to display the command line and parameters that has been used to build the image. Warning!! some sensitive data used to build the image may will be exposed. | no | false |
| cache | Set this flag as true to opt into caching with kaniko. | no | false |
| cache_ttl | Cache timeout in hours. Defaults to 12h. | no | 12h |
| snapshot_mode | Set this flag to set how kaniko will snapshot the filesystem (full, redo, time). Default to full. | no | full |
| use_new_run | Use the experimental run implementation for detecting changes without requiring file system snapshots. In some cases, this may improve build performance by 75%. | no | false |
Outputs
no outputs