From f355e30a25741341d60469c8191ad7aa1d975c58 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Wed, 14 Jul 2021 17:21:39 +0700 Subject: [PATCH] Updated for echo and workdir --- .github/workflows/main.yml | 2 +- entrypoint.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2140f4..9dbe74c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/entrypoint.sh b/entrypoint.sh index 5e6ed70..2373b82 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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