Updated the entrypoint for calpine docker
This commit is contained in:
parent
a4d22160a8
commit
aea63a307f
@ -1,13 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
|
|
||||||
# set -- node "$@"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# exec "$@"
|
|
||||||
|
|
||||||
if [ ! -z $INPUT_USERNAME ];
|
if [ ! -z $INPUT_USERNAME ];
|
||||||
then echo $INPUT_PASSWORD | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --password-stdin
|
then echo $INPUT_PASSWORD | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --password-stdin
|
||||||
fi
|
fi
|
||||||
@ -23,7 +15,7 @@ then INPUT_SHELL=sh
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z $INPUT_IMAGE ];
|
if [ -z $INPUT_IMAGE ];
|
||||||
then INPUT_IMAGE=docker
|
then INPUT_IMAGE=calpine-docker
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z $semicolon_delimited_script ];
|
if [ -z $semicolon_delimited_script ];
|
||||||
|
Loading…
Reference in New Issue
Block a user