joepitt91/Get Latest Version from DockerHub Image Tags

Get the latest semantic version number from a Docker Hub repository's tagged images.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 12, 2026
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: joepitt91/action-version-from-dockerhub@d11e0f0891b717efe7891d867413de549312271c # v2.0.4

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

namedescriptionrequireddefault
dockerhub_usernameThe user to authenticate to the Docker Hub API as.yes
dockerhub_tokenThe token to authenticate to the Docker Hub API with (must have read access).yes
namespaceThe namespace the repository is in. Defaults to "library".nolibrary
repositoryThe repository to search tags for.yes
greater_equal_versionThe minimum version to accept, e.g. 2.0.0. Defaults to None.no
less_than_versionThe version to accept versions less than, e.g. 3.0.0. Defaults to None.no
namedescription
tagThe image tag for the latest version.
versionThe latest version number.