Skip to content

Commit

Permalink
set the docker image to python-3.6 (the tag, push the tagged image th…
Browse files Browse the repository at this point in the history
…is time)
  • Loading branch information
srivarra committed Jun 30, 2022
1 parent 9ca3161 commit 686d504
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,16 @@ jobs:
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
on:
tags: false
tags: true
- stage: docker_deploy
if: tag IS present
python: 3.6
script:
- "travis_wait 120 sleep 7200 &"
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t "$TRAVIS_REPO_SLUG" . 1> /dev/null
# - docker tag "$TRAVIS_REPO_SLUG" "$TRAVIS_REPO_SLUG":3.6
- docker tag "$TRAVIS_REPO_SLUG" "$TRAVIS_REPO_SLUG":"${TRAVIS_TAG}"
- docker push "$TRAVIS_REPO_SLUG"
- docker push "$TRAVIS_REPO_SLUG":"${TRAVIS_TAG}"

after_success:
- coveralls

0 comments on commit 686d504

Please sign in to comment.