I have this step in my circle.yml:
- type: shell shell: /bin/bash command: "if [[ -e /docker/image.tar ]]; then docker load -i /docker/image.tar"
However, I get the below error trying to run it:
/bin/bash: -c: line 1: syntax error: unexpected end of file Exited with code 1
Since it’s complaining about -c, I’d imagine the command to run isn’t being surrounded by quotes when being passed to the shell?