-
Notifications
You must be signed in to change notification settings - Fork 3
63 lines (60 loc) · 2.33 KB
/
main.yaml
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
60
61
62
63
name: Build and push Docker images
on:
push:
jobs:
docker:
runs-on: koyeb-runner
strategy:
matrix:
model:
- name: meta-llama/Llama-3.1-8B-Instruct
tag: koyeb/meta-llama-3.1-8b-instruct:latest
- name: meta-llama/Llama-3.3-70B-Instruct
tag: koyeb/meta-llama-3.3-70b-instruct:latest
- name: meta-llama/Llama-3.2-1B-Instruct
tag: koyeb/meta-llama-3.2-1b-instruct:latest
- name: meta-llama/Llama-3.2-3B-Instruct
tag: koyeb/meta-llama-3.2-3b-instruct:latest
- name: meta-llama/Llama-3.2-11B-Vision-Instruct
tag: koyeb/meta-llama-3.2-11b-vision-instruct:latest
- name: NousResearch/Hermes-3-Llama-3.1-8B
tag: koyeb/nousresearch-hermes-3-llama-3.1-8b:latest
- name: mistralai/Mistral-7B-Instruct-v0.3
tag: koyeb/mistralai-mistral-7b-instruct-v0.3:latest
- name: google/gemma-2-9b-it
tag: koyeb/google-gemma-2-9b-it:latest
- name: Qwen/Qwen2.5-7B-Instruct
tag: koyeb/qwen-qwen2.5-7b-instruct:latest
- name: HuggingFaceTB/SmolLM2-1.7B-Instruct
tag: koyeb/huggingfacetb-smollm2-1.7b-instruct:latest
- name: HuggingFaceTB/SmolLM2-360M-Instruct
tag: koyeb/huggingfacetb-smollm2-360m-instruct:latest
- name: HuggingFaceTB/SmolLM2-135M-Instruct
tag: koyeb/huggingfacetb-smollm2-135m-instruct:latest
- name: microsoft/phi-4
tag: koyeb/microsoft-phi-4-14b:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD}}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
context: .
file: Dockerfile.bundled_model
tags: ${{ matrix.model.tag }}
outputs: |
type=registry,compression=zstd
build-args: |
MODEL_NAME=${{ matrix.model.name }}
secrets: |
"hf_token=${{ secrets.HUGGINGFACE_TOKEN }}"