Skip to content

Commit

Permalink
Merge pull request #239 from crazy-max/github-sha
Browse files Browse the repository at this point in the history
revert changes to set associated head sha on pull request event
  • Loading branch information
tonistiigi committed Oct 17, 2022
2 parents 12cce9e + a99e71c commit d00b20e
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 5 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -20,6 +20,7 @@ ___
* [Customizing](#customizing)
* [inputs](#inputs)
* [outputs](#outputs)
* [environment variables](#environment-variables)
* [`images` input](#images-input)
* [`flavor` input](#flavor-input)
* [`tags` input](#tags-input)
Expand Down Expand Up @@ -295,6 +296,12 @@ Following outputs are available
| `json` | String | JSON output of tags and labels |
| `bake-file` | File | [Bake file definition](https://docs.docker.com/build/customize/bake/file-definition/) path |
### environment variables
| Name | Type | Description |
|-------------------------------|------|------------------------------------------------------------------------------------------------------------|
| `DOCKER_METADATA_PR_HEAD_SHA` | Bool | If `true`, set associated head SHA instead of commit SHA that triggered the workflow on pull request event |
## `images` input
`images` defines a list of Docker images to use as base name for [`tags`](#tags-input):
Expand Down

0 comments on commit d00b20e

Please sign in to comment.