更新 entrypoint.sh
This commit is contained in:
parent
04e3cc7913
commit
ec18930bef
|
|
@ -4,6 +4,7 @@ docker -v
|
|||
|
||||
if [ -n "$INPUT_USERNAME" ]; then
|
||||
# echo "$INPUT_PASSWORD" | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --password-stdin
|
||||
echo "docker login $INPUT_REGISTRY -u $INPUT_USERNAME -p $INPUT_PASSWORD"
|
||||
docker login $INPUT_REGISTRY -u $INPUT_USERNAME -p $INPUT_PASSWORD
|
||||
cat ~/.docker/config.json
|
||||
if [ ! -f ~/.docker/config.json ] || ! cat ~/.docker/config.json | grep -q "$INPUT_REGISTRY"; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue