briceburg/detect-image-metadata
An action to determine docker image tags and labels based on GitHub events and refs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 9, 2024
- License
- MIT
Pinned Snippet
uses: briceburg/github-action-detect-image-metadata@6e9dba0c9c7ec5e0330655faa5f668e9d59d111f # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| image-name | Image name being built, without tag. e.g. acme/foo | — | ${{ github.repository }} |
| image-registry | Image registry, e.g. 'docker.io'. | — | ghcr.io |
Outputs
| name | description |
|---|---|
| extra-tags | Comma separated list of additional tags (in addition to version tag). |
| image | Primary (first) image |
| images | Newline separated list of all images. |
| labels | Newline separated list of labels. |
| name | Image Name |
| registry | Image Registry |
| version | Image Version (primary image tag) |