Skip to content

Commit

Permalink
Add deploys from master
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Hiner committed Jul 2, 2020
1 parent 3f1ba4f commit 209cfe9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ before_install:
- export GIT_SHA=$(git rev-parse --short $TRAVIS_BRANCH)

script:
- echo "$DOCKER_PASSWORD" | docker login -u "${DOCKER_USERNAME}" --password-stdin
- travis_wait 60 docker build --no-cache --pull -t dwelo2/rust-musl-crosscompiler:${TARGET_ARCH} --build-arg TARGET_ARCH=${TARGET_ARCH} .
- echo "$DOCKER_PASSWORD" | docker login -u "${DOCKER_USERNAME}" --password-stdin && travis_wait 60 docker build --no-cache --pull -t dwelo2/rust-musl-crosscompiler:${TARGET_ARCH} --build-arg TARGET_ARCH=${TARGET_ARCH} .

# after_script:
# - docker push dwelo2/rust-musl-crosscompiler:${TARGET_ARCH}
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push dwelo2/rust-musl-crosscompiler:${TARGET_ARCH}; fi

0 comments on commit 209cfe9

Please sign in to comment.