InformaticsMatters / fragnet

Fragment network tooling
Apache License 2.0
1 stars 0 forks source link

Fix the docker image versioning #20

Closed alanbchristie closed 4 years ago

alanbchristie commented 4 years ago

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}")
    }
alanbchristie commented 4 years ago

Fixed and merged to maser