nickkostov/Get Latest GHCR Tag

Fetches the latest GHCR tag matching a provided identifier using gh CLI

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jun 6, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: nickkostov/docker-label-grepper@584497ae35bae4f7885e8e3dc5f06b06ba906bd6 # v1.0.0

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

namedescriptionrequireddefault
orgGitHub organization owning the image (optional)no
userGitHub user owning the image (optional)no
imageImage name in GHCRyes
image_identifierSubstring to identify your production-grade tags (e.g., 'prod')yes
gh_tokenGitHub token for authenticationyes
namedescription
latest_tagThe latest matching tag from GHCR