Skip to content

Update Dockerfile with extensions support #5

Update Dockerfile with extensions support

Update Dockerfile with extensions support #5

Workflow file for this run

name: Manual Docker Build
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build-docker-image:
runs-on: aws-avx2-192G-4-a10g-96G
timeout-minutes: 240
steps:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- name: Login to Github Packages
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1
submodules: recursive
- name: Get version tag
id: extract_tag
run: echo "tag=$(date +%Y%m%d)" >> $GITHUB_OUTPUT
- name: Current Version Name
run: echo ${{ steps.extract_tag.outputs.tag }}
- name: nm-vllm latest
uses: docker/build-push-action@v2
with:
context: .
target: vllm-openai
push: true
tags: ghcr.io/neuralmagic/nm-vllm-openai:latest
- name: Today's nm-vllm-nightly
uses: docker/build-push-action@v2
with:
context: .
target: vllm-openai
push: true
tags: ghcr.io/neuralmagic/nm-vllm-openai:${{ steps.extract_tag.outputs.tag }}