mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 07:29:37 +08:00
Use rayproject repo (#6353)
This commit is contained in:
@@ -11,7 +11,7 @@ DOCKER_USERNAME="raytravisbot"
|
||||
if [[ "$TRAVIS" == "true" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
|
||||
docker build -q -t ray-project/base-deps docker/base-deps
|
||||
docker build -q -t rayproject/base-deps docker/base-deps
|
||||
|
||||
wheel="ray-0.8.0.dev6-cp36-cp36m-manylinux1_x86_64.whl"
|
||||
commit_sha=$(echo $TRAVIS_COMMIT | head -c 6)
|
||||
@@ -20,17 +20,17 @@ if [[ "$TRAVIS" == "true" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
|
||||
docker build \
|
||||
--build-arg WHEEL_PATH=".whl/$wheel" \
|
||||
--build-arg WHEEL_NAME=$wheel \
|
||||
-t ray-project/autoscaler:$commit_sha \
|
||||
-t rayproject/autoscaler:$commit_sha \
|
||||
$ROOT_DIR/docker/autoscaler
|
||||
docker push ray-project/autoscaler:$commit_sha
|
||||
docker push rayproject/autoscaler:$commit_sha
|
||||
|
||||
# We have a branch build, e.g. release/v0.7.0
|
||||
if [[ "$TRAVIS_BRANCH" != "master" ]]; then
|
||||
docker tag ray-project/autoscaler:$commit_sha ray-project/autoscaler:$TRAVIS_BRANCH
|
||||
docker push ray-project/autoscaler:$TRAVIS_BRANCH
|
||||
docker tag rayproject/autoscaler:$commit_sha rayproject/autoscaler:$TRAVIS_BRANCH
|
||||
docker push rayproject/autoscaler:$TRAVIS_BRANCH
|
||||
else
|
||||
docker tag ray-project/autoscaler:$commit_sha ray-project/autoscaler:latest
|
||||
docker push ray-project/autoscaler:latest
|
||||
docker tag rayproject/autoscaler:$commit_sha rayproject/autoscaler:latest
|
||||
docker push rayproject/autoscaler:latest
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user