Task: Fixed entrypoint and change to sh shell
This commit is contained in:
parent
a168aa5299
commit
5e2e1ba833
@ -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 ];
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user