Skip to content

Commit

Permalink
vllm release cycle
Browse files Browse the repository at this point in the history
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
  • Loading branch information
sivanantha321 committed Dec 10, 2024
1 parent c9cc812 commit e00ca3b
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/vllm-docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Huggingface vLLM Docker Publisher

on:
workflow_dispatch:
inputs:
version:
description: 'vLLM image version to publish'
required: true

env:
IMAGE_NAME: huggingfaceserver

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4

- name: Free-up disk space
uses: ./.github/actions/free-up-disk-space

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Export image id variable
run: |
IMAGE_ID=kserve/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
context: python
file: python/huggingface_server.Dockerfile
push: true
tags: ${{ env.IMAGE_ID }}:${{ inputs.version }}
# https://github.com/docker/buildx/issues/1533
provenance: false

0 comments on commit e00ca3b

Please sign in to comment.