Skip to content

Commit

Permalink
feat(scripts): create docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Mar 18, 2020
1 parent 2e327ee commit 3c92390
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/docker_push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin sh

# This script is used to push the image to Docker hub
docker login
docker build --rm=true -t sundowndev/phoneinfoga:latest .
docker tag $(docker images -q sundowndev/phoneinfoga) sundowndev/phoneinfoga:latest
docker push sundowndev/phoneinfoga

echo 'Script executed.'

0 comments on commit 3c92390

Please sign in to comment.