mirror of
https://github.com/docker/metadata-action.git
synced 2025-06-23 19:27:58 +02:00
attribute to enable/disable images
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
24
README.md
24
README.md
@ -19,6 +19,7 @@ ___
|
||||
* [Customizing](#customizing)
|
||||
* [inputs](#inputs)
|
||||
* [outputs](#outputs)
|
||||
* [`images` input](#images-input)
|
||||
* [`flavor` input](#flavor-input)
|
||||
* [`tags` input](#tags-input)
|
||||
* [`type=schedule`](#typeschedule)
|
||||
@ -291,6 +292,29 @@ Following outputs are available
|
||||
| `json` | String | JSON output of tags and labels |
|
||||
| `bake-file` | File | [Bake definition file](https://github.com/docker/buildx#file-definition) path |
|
||||
|
||||
## `images` input
|
||||
|
||||
`images` defines a list of Docker images to use as base name for [`tags`](#tags-input):
|
||||
|
||||
```yaml
|
||||
images: |
|
||||
name/foo
|
||||
ghcr.io/name/bar
|
||||
# or
|
||||
name=name/foo
|
||||
name=ghcr.io/name/bar
|
||||
```
|
||||
|
||||
Extended attributes and default values:
|
||||
|
||||
```yaml
|
||||
images: |
|
||||
name=,enable=true
|
||||
```
|
||||
|
||||
* `name=<string>` image base name
|
||||
* `enable=<true|false>` enable this entry (default `true`)
|
||||
|
||||
## `flavor` input
|
||||
|
||||
`flavor` defines a global behavior for [`tags`](#tags-input):
|
||||
|
Reference in New Issue
Block a user