kwd/README.md

33 lines
1.9 KiB
Markdown
Raw Normal View History

2025-03-04 22:38:52 +09:00
# kwd [![Crates.io][crates-badge]][crates-url] [![hub.docker.com][docker-badge]][docker-url] [![MIT licensed][mit-badge]][mit-url]
[crates-badge]: https://img.shields.io/crates/v/kwd.svg
2025-03-04 22:50:52 +09:00
2025-03-04 22:38:52 +09:00
[crates-url]: https://crates.io/crates/kwd
2025-03-04 22:50:52 +09:00
2025-03-04 22:38:52 +09:00
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
2025-03-04 22:50:52 +09:00
2025-03-04 22:38:52 +09:00
[mit-url]: https://github.com/spi-ca/kwd/blob/main/LICENSE
2025-03-04 22:50:52 +09:00
2025-03-04 22:38:52 +09:00
[docker-badge]: https://img.shields.io/docker/v/sangbumkim/kwd
2025-03-04 22:50:52 +09:00
2025-03-04 22:38:52 +09:00
[docker-url]: https://hub.docker.com/r/sangbumkim/kwd
## Description
This is a tool that performs destination tasks when attaching multiple tags to a single kaniko image build.
## Configuration
kwd is basically a binary wrapper for kaniko.
When running kwd, it reads the environment variables specified below and passes the corresponding arguments to kaniko.
If execution arguments are given to kwd, these are passed transparently to the kaniko process.
2025-03-04 22:50:52 +09:00
| Environment variables | Required | Default Value | Description |
|---------------------------|----------|--------------------|---------------------------------------------------------------------------------------------------------------|
| `KANIKO_BIN` | no | `/kaniko/executor` | Specifies the path to `kaniko` binary. By default, the path used by `gcr.io/kaniko-project/executor` is used. |
| `KANIKO_IMAGE_REPOSITORY` | yes | | Indicates the repository prefix to be used for Docker image push. e.g. `gcr.io/google-containers` |
| `KANIKO_IMAGE_NAME` | yes | | Indicates the repository name to be used for Docker image push. e.g. `pause` |
| `KANIKO_IMAGE_TAGS` | yes | | Specifies a comma-separated list of container image tags. e.g. `latest,v1.0.0,v1.0.0-1` |
2025-01-04 04:08:44 +09:00