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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 18, 2023
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: patrickjmcd/get-image-tag@9ca5a7386b2f9c9e51e91d4b3a4f6f3c18713209 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

no inputs

namedescription
image_tagThe image tag for the current commit
is_tagWhether the current commit is a tag