Skip to content

Commit

Permalink
Test heroku integration with temporary heroku token
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe444 committed Jan 30, 2019
1 parent e55db78 commit 521c215
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
- mvn docker:build@build-docker -P docker-app -f ./judge-d-server/pom.xml
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push hltech/judge-d
- stage: build & publish docker image for server to heroku
script:
- mvn docker:build@build-docker -P docker-app -f ./judge-d-server/pom.xml
- docker login -u _ -p "857ed48f-9c0f-4360-b4ca-66917b4f6fa5" registry.heroku.com
- docker push registry.heroku.com/judge-d/web docker login -u _ -p "857ed48f-9c0f-4360-b4ca-66917b4f6fa5" registry.heroku.com
- stage: build & publish docker image for agent
if: branch = master
script:
Expand Down

0 comments on commit 521c215

Please sign in to comment.