Skip to content

Commit

Permalink
go: promote 1.21 to latest (#1197)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh authored Aug 11, 2023
1 parent f0304c9 commit 0a0ed6e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions images/go/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,15 @@ module "tagger" {

tags = merge(
# 1.19
{ for t in toset(module.version-tags-19.tag_list) : t => module.nineteen.image_ref },
{ for t in toset(module.version-tags-19.tag_list) : "${t}-dev" => module.nineteen-dev.image_ref },

# 1.21
# TODO(mattmoor): Move this below (and switch latest) once 1.21 is no longer an "RC"
{ for t in toset(module.version-tags-21.tag_list) : t => module.twenty-one.image_ref },
{ for t in toset(module.version-tags-21.tag_list) : "${t}-dev" => module.twenty-one-dev.image_ref },
{ for t in module.version-tags-19.tag_list : t => module.nineteen.image_ref },
{ for t in module.version-tags-19.tag_list : "${t}-dev" => module.nineteen-dev.image_ref },

# 1.20
{ for t in toset(concat(["latest"], module.version-tags-20.tag_list)) : t => module.twenty.image_ref },
{ for t in toset(concat(["latest"], module.version-tags-20.tag_list)) : "${t}-dev" => module.twenty-dev.image_ref },
{ for t in module.version-tags-20.tag_list : t => module.twenty.image_ref },
{ for t in module.version-tags-20.tag_list : "${t}-dev" => module.twenty-dev.image_ref },

# 1.21
{ for t in concat(["latest"], module.version-tags-21.tag_list) : t => module.twenty-one.image_ref },
{ for t in concat(["latest"], module.version-tags-21.tag_list) : "${t}-dev" => module.twenty-one-dev.image_ref },
)
}

0 comments on commit 0a0ed6e

Please sign in to comment.