This commit is contained in:
Sambo Chea 2021-07-14 17:23:00 +07:00
parent f355e30a25
commit 836901cd96

View File

@ -3,6 +3,7 @@
#### Current working directory is: /github/workspace #### #### Current working directory is: /github/workspace ####
WORKDIR=$(pwd) WORKDIR=$(pwd)
echo "Workdir => ${WORKDIR}" echo "Workdir => ${WORKDIR}"
ls $WORKDIR
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