Updated for echo and workdir
This commit is contained in:
parent
0c1a69af4f
commit
f355e30a25
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user