Updated for echo and workdir

This commit is contained in:
Sambo Chea 2021-07-14 17:21:39 +07:00
parent 0c1a69af4f
commit f355e30a25
2 changed files with 2 additions and 1 deletions

View File

@ -16,4 +16,4 @@ jobs:
name: Starter Docker Action Test
uses: cubetiq/starter-docker-actions@main
with:
run: docker version; ls; ls /github/workspace
run: docker version; pwd; ls; ls /github/workspace

View File

@ -2,6 +2,7 @@
#### Current working directory is: /github/workspace ####
WORKDIR=$(pwd)
echo "Workdir => ${WORKDIR}"
if [ ! -z $INPUT_USERNAME ];
then echo $INPUT_PASSWORD | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --password-stdin