Skip to content

Commit

Permalink
checkout image build branch
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue committed Sep 26, 2024
1 parent 7f66fe8 commit 2cf7782
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/_comps-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
cd ${{ github.workspace }}
if [[ $(grep -c "vllm-openvino:" ${docker_compose_yml}) != 0 ]]; then
git clone https://github.com/vllm-project/vllm.git vllm-openvino
cd ./vllm-openvino && git checkout v0.6.1 && cd ../
fi
- name: Build Image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
git clone https://github.com/vllm-project/vllm.git vllm
cd ./vllm/
cd ./vllm/ && git checkout v0.6.1
docker build -t vllm:openvino -f Dockerfile.openvino . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy
cd $BASEDIR && rm -rf vllm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
git clone https://github.com/vllm-project/vllm.git vllm
cd ./vllm/
cd ./vllm/ && git checkout v0.6.1
docker build -t vllm:openvino -f Dockerfile.openvino . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy
cd $BASEDIR && rm -rf vllm
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ CONTAINER_NAME="test-comps-vllm-openvino-container"
function build_container() {
cd $WORKPATH
git clone https://github.com/vllm-project/vllm.git vllm-openvino
cd ./vllm-openvino/ && git checkout v0.6.1
# for test, something wrong with main branch image build
cd ./vllm-openvino/ && git checkout v0.6.1 # something wrong with main branch image build

docker build --no-cache -t $DOCKER_IMAGE \
-f Dockerfile.openvino \
. \
Expand Down

0 comments on commit 2cf7782

Please sign in to comment.