We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4b1049c + 0f2f944 commit 57906aeCopy full SHA for 57906ae
bin/dockerfile-build-functions.sh
@@ -22,7 +22,7 @@ dockerfile_build_image(){
22
mode=patch
23
fi
24
if [ -z "$last" ]; then
25
- last=$(docker images --format "{{.Tag}}" $repository | sort | tail -1)
+ last=$(docker images --format "{{.Tag}}" $repository | head -1)
26
27
28
version_build_next "$mode" "$last"
0 commit comments