-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (57 loc) · 1.75 KB
/
Copy pathtest_docker.yaml
File metadata and controls
59 lines (57 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Test Docker
on:
pull_request:
paths:
- docker-images/**
- .github/workflows/test_docker.yaml
jobs:
test-docker:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- vllm-runtime
- open-webui
name: Test ${{ matrix.image }} Docker image
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Login to DockerHub
if: ${{ matrix.image == 'vllm-runtime' }}
uses: docker/login-action@v4
with:
registry: docker-registry.osc.edu
username: ${{ secrets.OSC_REGISTRY_ROBOT_OSC_USERNAME }}
password: ${{ secrets.OSC_REGISTRY_ROBOT_OSC_TOKEN }}
- name: Free Disk Space (Ubuntu)
if: matrix.image == 'vllm-runtime'
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Build ${{ matrix.image }} image
run: |
make -f docker-images/${{ matrix.image }}/Makefile build
#- name: Free Disk Space (Ubuntu)
# if: matrix.image == 'vllm-runtime'
# uses: jlumbroso/free-disk-space@v1.3.1
# with:
# tool-cache: false
# android: true
# dotnet: true
# haskell: true
# large-packages: true
# docker-images: true
# swap-storage: true
#- name: Build ${{ matrix.image }} dev image
# if: matrix.image == 'vllm-runtime'
# run: |
# docker images
# docker buildx prune -a -f
# make -f docker-images/${{ matrix.image }}/Makefile build VERSION=1.3.0-dev.1-cuda13 RELEASE=1