sbt publish pushes docker image to remote repository
Actual behaviour
sbt publishLocal is not tagging the image
Information
What sbt-native-packager are you using
1.9.2
What sbt version
1.5.5
What is your build system (e.g. Ubuntu, MacOS, Windows, Debian )
MacOS
What package are you building (e.g. docker, rpm, ...)
docker
What version has your build tool (find out with e.g. rpm --version)
20.10.8
What is your target system (e.g. Ubuntu 16.04, CentOS 7)
docker
from sbt console:
[error] #20 exporting layers 0.5s done
[error] #20 writing image sha256:447eb0618400bcae91d11bcc2509a622a2c96a612814ba3b87976679585338e1 done
[error] #20 DONE 0.5s
[error] Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[info] Removing intermediate image(s) (labeled "snp-multi-stage-id=02eef4c7-c45e-4ab3-9f73-9ddc37317769")
[info] Total reclaimed space: 0B
[info] Built image my.remote.repo/my-name with tags [my-project-0.1-SNAPSHOT]
from terminal:
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> 447eb0618400 6 minutes ago 564MB
Expected behaviour
sbt publish
pushes docker image to remote repositoryActual behaviour
sbt publishLocal
is not tagging the imageInformation
rpm --version
) 20.10.8from sbt console:
from terminal: