Skip to content

Commit

Permalink
Add note regarding the update status of special Docker tags
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <[email protected]>
  • Loading branch information
yubiuser committed May 28, 2023
1 parent 09a28ab commit 5aaca5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions padd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,9 @@ GetVersionInformation() {
docker_version_converted="$(VersionConverter "${DOCKER_VERSION}")"
docker_version_latest_converted="$(VersionConverter "${GITHUB_DOCKER_VERSION}")"

# Note: the version comparison will fail for any Docker tag not following a 'YYYY.MM.VV' scheme
# e.g. 'nightly', 'beta', 'v6-pre-alpha' and might set a false out_of_date_flag
# As those versions are not meant to be used in production, we ignore this small bug
if [ "${docker_version_converted}" -lt "${docker_version_latest_converted}" ]; then
out_of_date_flag="true"
docker_version_heatmap=${red_text}
Expand Down

0 comments on commit 5aaca5f

Please sign in to comment.