Skip to content

Commit

Permalink
added docker username and pass ecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
LamaAni committed Feb 8, 2021
1 parent d08af5b commit 0888111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/build
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ while [ "$#" -gt 0 ]; do
shift
done

if [ -z "$DOCKER_USERNAME" ]; then
if [ -n "$DOCKER_USERNAME" ]; then
log:sep "Login to docker"
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_ACCESS_TOKEN"
assert $? "Failed to login" || exit $?
Expand Down

0 comments on commit 0888111

Please sign in to comment.