diff --git a/entrypoint.sh b/entrypoint.sh index 970a464..f05f891 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,12 @@ -#!/bin/bash +#!/bin/sh + +set -e + +# if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then +# set -- node "$@" +# fi + +# exec "$@" if [ ! -z $INPUT_USERNAME ]; then echo $INPUT_PASSWORD | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --password-stdin