Skip to content

Commit

Permalink
fix: Fix pushing docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw committed Nov 8, 2022
1 parent 2715816 commit 4c86707
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docker_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

set -e

# £TRAVIS_TAG begins with a v
TAG=`echo $TRAVIS_TAG | sed 's/^.//'`
sudo docker login --username andrewjw --password $DOCKER_TOKEN

docker login --username andrewjw --password $DOCKER_TOKEN
sudo docker build --build-arg VERSION=$TAG -t andrewjw/glowprom:$TAG .

docker build --build-arg VERSION=$TAG -t andrewjw/glowprom:$TAG .

docker push andrewjw/glowprom:$TAG
sudo docker push andrewjw/glowprom:$TAG

0 comments on commit 4c86707

Please sign in to comment.