From 5e2e1ba833e354b414c5eccff92e411d298e7b00 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Wed, 14 Jul 2021 15:40:14 +0700 Subject: [PATCH] Task: Fixed entrypoint and change to sh shell --- entrypoint.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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