Skip to content

Commit

Permalink
Docker push script.
Browse files Browse the repository at this point in the history
  • Loading branch information
chmac committed Mar 18, 2022
1 parent 469012d commit bcd2d5d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dockerPush.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

if [ "$OS" = "Darwin" ]; then
echo docker tag lightflow:latest chmac/lightflow
docker tag lightflow:latest chmac/lightflow
echo docker push chmac/lightflow:latest
docker push chmac/lightflow:latest
else
echo sudo docker tag lightflow:latest chmac/lightflow
sudo docker tag lightflow:latest chmac/lightflow
echo sudo docker push chmac/lightflow:latest
sudo docker push chmac/lightflow:latest
fi

0 comments on commit bcd2d5d

Please sign in to comment.