g8 does not understand docker cli syntax

45 Views Asked by At

I have a customized g8 scala template which contains a .travis.yml that can be used by projects created though this template. In my .travis.yml, I have docker login -u="$username" -p="$password" because I need to publish images to remote registry. However, when I try to create a boilerplate project by doing g8 file://template.g8, I always get this error .travis.yml, 31:42: '" -p="' came as a complete surprise to me. I would really appreciate any help.

1

There are 1 best solutions below

0
On BEST ANSWER

I figured this out. Need to escape all the $s.