Skip to content

Commit a99e71c

Browse files
committed
revert changes to set associated head sha on pull request event
Signed-off-by: CrazyMax <[email protected]>
1 parent 12cce9e commit a99e71c

File tree

5 files changed

+381
-5
lines changed

5 files changed

+381
-5
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ___
2020
* [Customizing](#customizing)
2121
* [inputs](#inputs)
2222
* [outputs](#outputs)
23+
* [environment variables](#environment-variables)
2324
* [`images` input](#images-input)
2425
* [`flavor` input](#flavor-input)
2526
* [`tags` input](#tags-input)
@@ -295,6 +296,12 @@ Following outputs are available
295296
| `json` | String | JSON output of tags and labels |
296297
| `bake-file` | File | [Bake file definition](https://docs.docker.com/build/customize/bake/file-definition/) path |
297298

299+
### environment variables
300+
301+
| Name | Type | Description |
302+
|-------------------------------|------|------------------------------------------------------------------------------------------------------------|
303+
| `DOCKER_METADATA_PR_HEAD_SHA` | Bool | If `true`, set associated head SHA instead of commit SHA that triggered the workflow on pull request event |
304+
298305
## `images` input
299306

300307
`images` defines a list of Docker images to use as base name for [`tags`](#tags-input):

0 commit comments

Comments
 (0)