Skip to content

Commit

Permalink
fix taggin suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
wakeful committed Mar 25, 2024
1 parent cd537bf commit 1b30af0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/ecs/ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ func (c *Client) NewTaskRevision(
if image, ok := images[*container.Name]; ok {
newImage := image
if strings.HasPrefix(image, ":") {
newImage = *container.Image + image
oldIMG := strings.Split(*container.Image, ":")
newImage = oldIMG[0] + image
}

c.logger.Info(
Expand Down

0 comments on commit 1b30af0

Please sign in to comment.