mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Updated hello to use stdin.
This commit is contained in:
@@ -24,7 +24,7 @@ USERNAME=YOUR_DOCKER_HUB_USERNAME
|
||||
# build it
|
||||
docker build -t $USERNAME/hello .
|
||||
# test it
|
||||
docker run -e 'PAYLOAD={"name": "Johnny"}' $USERNAME/hello
|
||||
echo '{"name":"Johnny"}' | docker run --rm -i $USERNAME/hello
|
||||
# tag it
|
||||
docker run --rm -v "$PWD":/app treeder/bump patch
|
||||
docker tag $USERNAME/hello:latest $USERNAME/hello:`cat VERSION`
|
||||
|
||||
Reference in New Issue
Block a user