Skip to content

Commit

Permalink
chore: 🤖 correct build and push sytax
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskaransarkaria committed Jun 21, 2020
1 parent 2b49570 commit 9f7fc60
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ jobs:
- stage: "Build Docker Image"
name: "Build and Push docker image"
script: |
# echo "$TRAVIS_TAG"
echo "$TRAVIS_BRANCH"
docker build -t jaskaransarkaria/timer-server:"$TRAVIS_BRANCH" .
docker build -t timer-server:"$TRAVIS_TAG" .
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push jaskaransarkaria/timer-server:"$TRAVIS_BRANCH"
docker push jaskaransarkaria/timer-server:"$TRAVIS_TAG"
stages:
- Tests and Linting
Expand Down

0 comments on commit 9f7fc60

Please sign in to comment.