mirror of
https://github.com/docker/metadata-action.git
synced 2026-01-19 03:18:57 +08:00
Skip and display warning if tag does not match (#59)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
e87dd9466c
commit
36ae18e02c
5 changed files with 142 additions and 25 deletions
13
README.md
13
README.md
|
|
@ -437,6 +437,7 @@ a custom value through `value` attribute.
|
|||
| `v2.0.8-beta.67` | `v(.*)` | `1` | `2.0.8-beta.67` |
|
||||
| `v2.0.8-beta.67` | `v(\d.\d)` | `1` | `2.0` |
|
||||
| `20200110-RC2` | `\d+` | `0` | `20200110` |
|
||||
| `p1/v1.2.3` | `p1-v(\d.\d.\d)` | `1` | `1.2.3` |
|
||||
|
||||
Extended attributes and default values:
|
||||
|
||||
|
|
@ -470,11 +471,11 @@ tags: |
|
|||
|
||||
```yaml
|
||||
tags: |
|
||||
# minimal branch event
|
||||
# branch event
|
||||
type=ref,event=branch
|
||||
# minimal tag event
|
||||
# tag event
|
||||
type=ref,event=tag
|
||||
# minimal pull request event
|
||||
# pull request event
|
||||
type=ref,event=pr
|
||||
```
|
||||
|
||||
|
|
@ -495,11 +496,11 @@ Extended attributes and default values:
|
|||
|
||||
```yaml
|
||||
tags: |
|
||||
# event branch
|
||||
# branch event
|
||||
type=ref,enable=true,priority=600,prefix=,suffix=,event=
|
||||
# event tag
|
||||
# tag event
|
||||
type=ref,enable=true,priority=600,prefix=,suffix=,event=
|
||||
# event pr
|
||||
# pull request event
|
||||
type=ref,enable=true,priority=600,prefix=pr-,suffix=,event=
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue