Skip to content

AnnaBien/GetRepositoryLatestVersion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Get Latest Tag

Script that retrieves the latest release tag of a given repository.

Usage

Docker Engine must be running beforehand as regclient/regctl is used to search for tags.

Parameters:

  • repository_url - URL to repository. Defaults to dockerhub if full URL path is not specified
  • repository_tag - (Optional) Currently used repository version. If specified, only tags of the same type will be considered.
python .\get_last_tag.py <repository_url> <repository_tag>

get_last_tag.py can be called within a bash script. Only the latest tag is printed to sys.stdout, all logs are logged into sys.stderr.

About

Script that retrieves the latest release tag of a given repository.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages