Task: Fixed entrypoint and change to sh shell

This commit is contained in:
Sambo Chea 2021-07-14 15:40:14 +07:00
parent a168aa5299
commit 5e2e1ba833

View File

@ -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