DexaiRobotics / drake-torch

Example demonstrating pytorch c++ integration with drake
Other
17 stars 2 forks source link

Sw.tag and push #64

Closed 5yler closed 4 years ago

5yler commented 4 years ago

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

pushes latest to other_repo