Update publish_docker_images.sh to take command line arguments.
Defaults to pushing both cuda and cpu images.
Usage examples:
$ publish_docker_images.sh
tagging and pushing image to dexai2/drake-torch, build type cpu, suffix 20200923
tagging and pushing image to dexai2/drake-torch, build type cpu, suffix latest
tagging and pushing image to dexai2/drake-torch, build type cuda, suffix 20200923
tagging and pushing image to dexai2/drake-torch, build type cuda, suffix latest
pushes latest to drake-torch
$ publish_docker_images.sh -r other_repo --cuda
tagging and pushing image to dexai2/other_repo, build type cuda, suffix 20200923
tagging and pushing image to dexai2/other_repo, build type cuda, suffix latest
Update
publish_docker_images.sh
to take command line arguments. Defaults to pushing both cuda and cpu images.Usage examples:
pushes latest to
drake-torch
pushes latest to
other_repo