#!/bin/sh

set -e

docker run \
    --env RELISH_API_TOKEN=$RELISH_API_TOKEN \
    --volume "$PWD":/src:ro \
    --tty \
     jcassee/relish \
     relish push

#!/bin/sh

set -e

gem install relish
echo "api_token: $RELISH_TOKEN" > ~/.relish
relish push

--- 
+++ 
@@ -2,6 +2,9 @@
 
 set -e
 
-gem install relish
-echo "api_token: $RELISH_TOKEN" > ~/.relish
-relish push
+docker run \
+    --env RELISH_API_TOKEN=$RELISH_API_TOKEN \
+    --volume "$PWD":/src:ro \
+    --tty \
+     jcassee/relish \
+     relish push
Use Docker for pushing to Relish
