File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,17 @@ jobs:
4646 run : |
4747 DATE=$(date +"%Y-%m-%d")
4848 COMMIT_REF=$(git rev-parse HEAD)
49+ REPO=${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/ci
50+ TAG=vllm-0.10.2-gpu-py312-cu128-ubuntu22.04-rayserve-ec2-pr-${{ github.event.pull_request.number }}-"${COMMIT_REF}"
51+ aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
4952 DOCKER_BUILDKIT=1 docker build --progress plain \
5053 --build-arg CACHE_REFRESH="${DATE}" \
51- --tag vllm:0.10.2-gpu-py312-cu128-ubuntu22.04-rayserve-ec2- "${COMMIT_REF }" \
54+ --tag "${REPO}": "${TAG }" \
5255 --target vllm-rayserve-ec2 \
5356 -f docker/vllm/Dockerfile.rayserve .
54- docker image ls
57+ docker push "${REPO}":"${TAG}"
58+ docker rmi "${REPO}":"${TAG}"
59+ yes | docker system prune
5560
5661 example-on-g6xl-runner-1 :
5762 needs : [example-on-build-runner]
You can’t perform that action at this time.
0 commit comments