Skip to content

Commit

Permalink
Update docker_loginNpush.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLaserGit authored Oct 16, 2024
1 parent 7a51774 commit 5446107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions research_datastream/terraform/test/docker_loginNpush.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ DOCKERHUB_USERNAME="awiciroh"

if [ "$(echo $DOCKERHUB_TOKEN | docker login -u $DOCKERHUB_USERNAME --password-stdin)" == "Login Succeeded" ]; then
echo "Docker login successful"
./scripts/docker_builds.sh -p >> ./docker_build_log.txt
/home/ec2-user/ngen-datstream/scripts/docker_builds.sh -p >> /home/ec2-user/ngen-datstream/docker_build_log.txt
echo "Push complete"
else
echo "Docker login failed"
exit 1
fi
fi

0 comments on commit 5446107

Please sign in to comment.