mirror of
https://github.com/moby/buildkit.git
synced 2026-08-09 17:18:11 +00:00
Correctly build forks in Travis
The CI script goes looking for the branch to which a commit was pushed, but was applying the branch name to moby/buildkit even if being built on a different fork. Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
@@ -32,7 +32,7 @@ if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
|
||||
currentref="git://github.com/moby/buildkit#refs/pull/$TRAVIS_PULL_REQUEST/merge"
|
||||
cacheref="cicache.buildk.it/moby/buildkit/pr$TRAVIS_BUILD_ID"
|
||||
elif [ -n "$TRAVIS_BRANCH" ]; then
|
||||
currentref="git://github.com/moby/buildkit#$TRAVIS_BRANCH"
|
||||
currentref="git://github.com/$TRAVIS_REPO_SLUG#$TRAVIS_BRANCH"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user