Closed
Description
I tried to integrate shfmt into our ci pipeline with the provided docker image on dockerhub.
However, there is a missmatch between the versions and I get different formatting results.
$ docker run --rm -v "$(pwd):/mnt" mvdan/shfmt:latest --version
v3.2.0-29-g31271816
$docker run --rm -v "$(pwd):/mnt" mvdan/shfmt:v3.2.2 --version
v3.2.2
(The formatting differs in my case for a backslash behind && operator, followed by a newline.
The v3.2.2 tag gives the same result as a local install with go (3.2.2))
I'm wondering what the meaning of the "latest" tag for the docker images is and why the version starts with 3.2.0 instead of 3.2.2. If this is intended, it might make sense to introduce a new tag, e.g. latest-stable or latest-release. Otherwise, I would expect that "latest" is the same as "v3.2.2" currently.
Metadata
Metadata
Assignees
Labels
No labels