Add the tag latest to the last built image, this is segmented by Terraform version.
Expected Behavior
When an image is built mark it as latest for the given Terraform version.
E.g. this situation can be seen:
leverage-toolbox:1.7.1-latest # this is linked to leverage-toolbox:1.7.1-0.0.3
leverage-toolbox:1.7.1-0.0.3
leverage-toolbox:1.7.1-0.0.2
leverage-toolbox:1.7.1-0.0.1
leverage-toolbox:1.6.0-latest # this is linked to leverage-toolbox:1.6.0-1.2.0
leverage-toolbox:1.6.0-1.2.0
leverage-toolbox:1.6.0-1.1.9
leverage-toolbox:1.6.0-1.1.8
Use Case
Be able to set the latest image for a given terraform version in the CLI.
Describe the Enhancement
Add the tag
latest
to the last built image, this is segmented by Terraform version.Expected Behavior
When an image is built mark it as
latest
for the given Terraform version. E.g. this situation can be seen:Use Case
Be able to set the latest image for a given terraform version in the CLI.
Describe Ideal Solution
Add the logic to tag the images as specified.
Alternatives Considered
n/a
Additional Context
n/a