Skip to content

Commit

Permalink
adding block step for CPU docker build, modify to push to aws registry
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan committed Dec 18, 2024
1 parent 2fad51d commit 3190285
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .buildkite/release-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ steps:
env:
DOCKER_BUILDKIT: "1"

- block: "Build CPU docker on release only"
depends_on: ~

- label: "Build and publish CPU release image"
depends_on: ~
if: build.tag != null
agents:
queue: cpu_queue_postmerge
commands:
- "DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg GIT_REPO_CHECK=1 --tag vllm/vllm-cpu:$BUILDKITE_TAG --progress plain -f Dockerfile.cpu ."
- "docker push vllm/vllm-cpu:$BUILDKITE_TAG"
plugins:
- docker-login#v3.0.0:
username: vllm
password-env: DOCKERHUB_TOKEN
- "aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/q9t5s3a7"
- "DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg GIT_REPO_CHECK=1 --tag public.ecr.aws/q9t5s3a7/vllm-cpu-release-repo:$BUILDKITE_TAG --progress plain -f Dockerfile.cpu ."
- "docker push public.ecr.aws/q9t5s3a7/vllm-cpu-release-repo:$BUILDKITE_TAG"
env:
DOCKER_BUILDKIT: "1"

0 comments on commit 3190285

Please sign in to comment.