f5b67c34d4
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
7 lines
192 B
Bash
Executable file
7 lines
192 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ -z $DOCKER_PASSWORD ]] || [[ -z $DOCKER_USERNAME ]]; then
|
|
docker login
|
|
else
|
|
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
|
fi
|