mirror of
https://github.com/docker/metadata-action.git
synced 2026-01-14 00:13:07 +08:00
Compare commits
No commits in common. "be19121bfd18b9c1ac415d9571d4f67b9b357886" and "b798ed8388581f6f002541048b6458ca2c4ba442" have entirely different histories.
be19121bfd
...
b798ed8388
@ -283,7 +283,6 @@ similar to the previous one:
|
|||||||
|
|
||||||
The following inputs can be used as `step.with` keys:
|
The following inputs can be used as `step.with` keys:
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> `List` type is a newline-delimited string
|
> `List` type is a newline-delimited string
|
||||||
> ```yaml
|
> ```yaml
|
||||||
> labels: |
|
> labels: |
|
||||||
@ -510,7 +509,7 @@ with the following expressions:
|
|||||||
* `patch` ; patch version identifier
|
* `patch` ; patch version identifier
|
||||||
|
|
||||||
| Git tag | Pattern | Output |
|
| Git tag | Pattern | Output |
|
||||||
|--------------------|-----------------------|----------------------|
|
|--------------------|----------------------------------------------------------|----------------------|
|
||||||
| `v1.2.3` | `{{raw}}` | `v1.2.3` |
|
| `v1.2.3` | `{{raw}}` | `v1.2.3` |
|
||||||
| `v1.2.3` | `{{version}}` | `1.2.3` |
|
| `v1.2.3` | `{{version}}` | `1.2.3` |
|
||||||
| `v1.2.3` | `{{major}}.{{minor}}` | `1.2` |
|
| `v1.2.3` | `{{major}}.{{minor}}` | `1.2` |
|
||||||
@ -519,10 +518,8 @@ with the following expressions:
|
|||||||
| `v1.2.3` | `{{patch}}` | `3` |
|
| `v1.2.3` | `{{patch}}` | `3` |
|
||||||
| `v2.0.8-beta.67` | `{{raw}}` | `v2.0.8-beta.67` |
|
| `v2.0.8-beta.67` | `{{raw}}` | `v2.0.8-beta.67` |
|
||||||
| `v2.0.8-beta.67` | `{{version}}` | `2.0.8-beta.67` |
|
| `v2.0.8-beta.67` | `{{version}}` | `2.0.8-beta.67` |
|
||||||
| `v2.0.8-beta.67` | `{{major}}` | `2.0.8-beta.67`* |
|
|
||||||
| `v2.0.8-beta.67` | `{{major}}.{{minor}}` | `2.0.8-beta.67`* |
|
| `v2.0.8-beta.67` | `{{major}}.{{minor}}` | `2.0.8-beta.67`* |
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
> *Pre-release (rc, beta, alpha) will only extend `{{version}}` (or `{{raw}}`
|
> *Pre-release (rc, beta, alpha) will only extend `{{version}}` (or `{{raw}}`
|
||||||
> if specified) as tag because they are updated frequently, and contain many
|
> if specified) as tag because they are updated frequently, and contain many
|
||||||
> breaking changes that are (by the author's design) not yet fit for public
|
> breaking changes that are (by the author's design) not yet fit for public
|
||||||
@ -572,7 +569,6 @@ with the following expressions:
|
|||||||
| `1.2.3beta2` | `{{major}}.{{minor}}` | `1.2.3b2`* |
|
| `1.2.3beta2` | `{{major}}.{{minor}}` | `1.2.3b2`* |
|
||||||
| `1.0dev4` | `{{major}}.{{minor}}` | `1.0.dev4`* |
|
| `1.0dev4` | `{{major}}.{{minor}}` | `1.0.dev4`* |
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
> *dev/pre/post release will only extend `{{version}}` (or `{{raw}}` if
|
> *dev/pre/post release will only extend `{{version}}` (or `{{raw}}` if
|
||||||
> specified) as tag because they are updated frequently, and contain many
|
> specified) as tag because they are updated frequently, and contain many
|
||||||
> breaking changes that are (by the author's design) not yet fit for public
|
> breaking changes that are (by the author's design) not yet fit for public
|
||||||
@ -862,7 +858,6 @@ workflow run. Will be empty for a branch reference:
|
|||||||
| `push` | `refs/heads/my/branch` | |
|
| `push` | `refs/heads/my/branch` | |
|
||||||
| `push tag`* | `refs/tags/v1.2.3` | `master` |
|
| `push tag`* | `refs/tags/v1.2.3` | `master` |
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
> *`base_ref` is available in the push payload but doesn't always seem to
|
> *`base_ref` is available in the push payload but doesn't always seem to
|
||||||
> return the expected branch when the push tag event occurs. It's also
|
> return the expected branch when the push tag event occurs. It's also
|
||||||
> [not documented in GitHub docs](https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push).
|
> [not documented in GitHub docs](https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user