Sbt deploy does not automatically tag docker image with 'latest'

This is not a question. I post since it might help others; also, I’m not sure if this is a bug or not. For me, I was trying to automate some deploys and the java sdk was tagging with ‘latest’; the scala SDK did not. Without that, my scripting has to become really advanced in order to figure out what the version tag label is.

To get around, I added dockerUpdateLatest := true to my project’s build.sbt.

I’ve PR:ed updates to the Scala samples and g8 template to update latest tag by default now:

1 Like

Thanks for this!