Skip to content

Commit

Permalink
travis: update repo names to config
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <[email protected]>
  • Loading branch information
tonistiigi committed Oct 11, 2018
1 parent 9da7b50 commit 72ea6e2
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 @@ -2,10 +2,9 @@ dist: trusty
sudo: required

install:
- docker run --name buildkit --rm -d --privileged -p 1234:1234 tonistiigi/buildkit --addr tcp://0.0.0.0:1234
- docker run --name buildkit --rm -d --privileged -p 1234:1234 $REPO_SLUG_ORIGIN --addr tcp://0.0.0.0:1234
- sudo docker cp buildkit:/usr/bin/buildctl /usr/bin/
- export BUILDKIT_HOST=tcp://0.0.0.0:1234
- git fetch --tags --unshallow

env:
global:
Expand All @@ -20,12 +19,12 @@ before_deploy:

deploy:
- provider: script
script: ./hack/release master tonistiigi/buildkit push
script: ./hack/release master $REPO_SLUG_TARGET push
on:
repo: moby/buildkit
branch: master
- provider: script
script: ./hack/release $TRAVIS_TAG tonistiigi/buildkit push && PLATFORMS="${PLATFORMS},darwin/amd64,windows/amd64" ./hack/release-tar $TRAVIS_TAG release-out
script: ./hack/release $TRAVIS_TAG $REPO_SLUG_TARGET push && PLATFORMS="${PLATFORMS},darwin/amd64,windows/amd64" ./hack/release-tar $TRAVIS_TAG release-out
on:
repo: moby/buildkit
tags: true
Expand Down

0 comments on commit 72ea6e2

Please sign in to comment.