Skip to content

Commit

Permalink
fix: Fix docker push by logging in if we're pushing.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw committed Jul 9, 2024
1 parent 1377c07 commit 6c18e01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

set -e

#sudo docker login --username andrewjw --password $DOCKER_TOKEN
if [ $# -eq 1 ]; then
sudo docker login --username andrewjw --password $DOCKER_TOKEN
fi

sudo docker buildx create --use

Expand Down

0 comments on commit 6c18e01

Please sign in to comment.