Skip to content
Snippets Groups Projects
Commit 130c181b authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

WIP

parent 8572dd89
Branches
Tags
No related merge requests found
......@@ -82,6 +82,7 @@ docker_publish_production:
major_version=`expr ${version} ':' '\([^.]\+\)'`
minor_version=`expr ${version} ':' '[^.]\+\.\([^.]\+\)'`
patch_version=`expr ${version} ':' '[^.]\+\.[^.]\+\.\(.\+\)'`
echo "major version ${major_version}, minor version ${minor_version}, patch version ${patch_version}"
for tag in "latest" "${major_version}" "${major_version}.${minor_version}" "${version}";do
docker tag image ${image_name}:${tag}
docker push ${image_name}:${tag}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment