New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set Atlantis Docker tag #15
Set Atlantis Docker tag #15
Conversation
Signed-off-by: Tom M G <devbytom@gmail.com>
Thanks @7onn. I wonder if we should tag in the following format?
This is what I've seen with other docker images that also tag based on the base image, e.g. the redis image with alpine. What do you think? |
@aliscott It seems super reasonable. But currently, there are no releases for Do you mean the |
I think a static |
Signed-off-by: Tom M G <devbytom@gmail.com>
Thanks @7onn, I'd consider removing the |
If you mean this v prefix, then I guess there's no problem because the regex would match any version number with or without it. You may just change it in Dockerfile and the pattern will be considered by the create-release workflow. |
The Most docker images I see don't use this prefix, so I was wondering if we should change to |
Signed-off-by: Tom M G <devbytom@gmail.com>
There we go: c3ed42d Here's the expected version output: $ ATLANTIS_TAG=latest-atlantis$(cat Dockerfile | \
grep -oE 'FROM.*atlantis.*' | \
grep -oE '[0-9]+.[0-9]+.[0-9]+')
&& echo $ATLANTIS_TAG
...
latest-atlantis0.17.2 |
Thanks @7onn! I've added a PR to Infracost CLI as well to update the Docker tagging there based on this discussion: infracost/infracost#1070 |
What do you expect to happen?
I think it would be nice if this project mirrored the Atlantis releases.
Why?
Because this way, any update in the Atlantis version would provide the same tag for this Infracost "plugin"
Sorry I didn't open an Issue first. I saw this one wondering about versioning the plugin itself but it also made sense to me just mirroring the Atlantis. Plus my request seemed trivial to implement and I'm ready to face denial if my suggestion didn't match the expectations 馃し馃徏