patrickjmcd/Get Image Tag
Get the image tag for the current commit, either the short hash or the tagged version. Requires that the repo be checked out.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 18, 2023
- License
- None
Pinned Snippet
uses: patrickjmcd/get-image-tag@9ca5a7386b2f9c9e51e91d4b3a4f6f3c18713209 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
no inputs
Outputs
| name | description |
|---|---|
| image_tag | The image tag for the current commit |
| is_tag | Whether the current commit is a tag |