Files
fn-serverless/examples/hello-ruby/release.sh
2016-10-13 20:24:06 -07:00

10 lines
238 B
Bash
Executable File

USERNAME=iron
# build it
docker build -t $USERNAME/hello:ruby .
# test it
echo '{"name":"Johnny"}' | docker run --rm -i $USERNAME/hello
# tag it
docker run --rm -v "$PWD":/app treeder/bump patch
# push it
docker push $USERNAME/hello:ruby