Skip to content

Build CPU image using depot #1

Build CPU image using depot

Build CPU image using depot #1

Workflow file for this run

name: Build CPU image using depot
on:
workflow_dispatch:
jobs:
docker-image:
runs-on: depot-ubuntu-22.04-8
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: depot/build-push-action@v1
env:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
with:
# if no depot.json file is at the root of your repo, you must specify the project id
project: 39xfdrxfqt
push: true
tags: tensorwave/scalarlm-cpu:latest
build-args: |
BASE_NAME=cpu
VLLM_TARGET_DEVICE=cpu
TORCH_CUDA_ARCH_LIST=""
MAX_JOBS=8