fix login

This commit is contained in:
Abdud Dayan Adeeb
2020-06-17 22:21:03 -04:00
parent fca40d5fe6
commit e8d1c67284

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ ! -z $INPUT_USERNAME ];
then echo $INPUT_USERNAME | docker login $INPUT_REGISTRY -u $INPUT_PASSWORD --password-stdin
then echo $INPUT_PASSWORD | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --password-stdin
fi
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script