Skip to content

Commit

Permalink
Remove latest tag on docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed May 29, 2024
1 parent d6e35b2 commit 9716d7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab/prepare_image_destinations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@

tags = []

tags << 'latest' if versions.all? { |v| candidate >= v }
# Disable tagging 'latest' for now avoid crossing major versions
# tags << 'latest' if versions.all? { |v| candidate >= v }
tags << "v#{major}" if current_major_versions.all? { |v| candidate >= v }
tags << "v#{major}.#{minor}"
tags << "v#{candidate}"
Expand Down

0 comments on commit 9716d7d

Please sign in to comment.