binbashar / le-docker-leverage-toolbox

Docker image for https://github.com/binbashar/leverage
3 stars 0 forks source link

Enhancement | Add tag "latest" to the last built image #17

Closed juanmatias closed 1 year ago

juanmatias commented 2 years ago

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:

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 Ideal Solution

Add the logic to tag the images as specified.

Alternatives Considered

n/a

Additional Context

n/a

exequielrafaela commented 2 years ago

@juanmatias this is going to be very useful, thanks for creating this issue.

juanmatias commented 1 year ago

This issue is done with https://github.com/binbashar/le-docker-leverage-toolbox/pull/18

juanmatias commented 1 year ago

As per the previous comment this is done