Skip to content

Commit

Permalink
Clarify docker logs about ignoring a normally expected update candida…
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored Oct 23, 2023
1 parent 7de7855 commit 9c7c8e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/lib/dependabot/docker/update_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,10 @@ def prerelease?(tag)
return false unless latest_tag

if comparable_version_from(tag) > comparable_version_from(latest_tag)
Dependabot.logger.info "Tag with non-prerelease version name #{tag.name} detected as prerelease, " \
"because it sorts higher than #{latest_tag.name}."
Dependabot.logger.info \
"The `latest` tag points to the same image as the `#{latest_tag.name}` image, " \
"so dependabot is treating `#{tag.name}` as a pre-release. " \
"The `latest` tag needs to point to `#{tag.name}` for Dependabot to consider it."

true
else
Expand Down

0 comments on commit 9c7c8e4

Please sign in to comment.