Skip to content

Commit

Permalink
-f should be on docker tag, not docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Oct 1, 2015
1 parent 2eff0f4 commit 43a4112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ script:
after_success:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push opendataservices/resource-projects-etl
- if [[ $TRAVIS_PULL_REQUEST -eq "false" ]]; then docker tag opendataservices/resource-projects-etl opendataservices/resource-projects-etl:${TRAVIS_TAG:-$TRAVIS_BRANCH}; docker push -f opendataservices/resource-projects-etl:${TRAVIS_TAG:-$TRAVIS_BRANCH}; fi
- if [[ $TRAVIS_PULL_REQUEST -eq "false" ]]; then docker tag -f opendataservices/resource-projects-etl opendataservices/resource-projects-etl:${TRAVIS_TAG:-$TRAVIS_BRANCH}; docker push opendataservices/resource-projects-etl:${TRAVIS_TAG:-$TRAVIS_BRANCH}; fi

0 comments on commit 43a4112

Please sign in to comment.