At the moment the version requires editing of the build.gradle, for automated builds it might be better to use an environment variable to over-ride (or set) the version. If the variable is not set then use 'latest'. See the fragment in the buildDockerImage task...
tags.add("squonk/fragnet-services:latest")
if (!version.endsWith('-SNAPSHOT')) {
tags.add("squonk/fragnet-services:${version}")
}
At the moment the version requires editing of the build.gradle, for automated builds it might be better to use an environment variable to over-ride (or set) the version. If the variable is not set then use 'latest'. See the fragment in the
buildDockerImage
task...