-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1.16 KB
/
build-images.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
name: build-image
on:
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- .github/**
- .gitignore
- LICENSE
- README.md
- docs/**
jobs:
build-granite-image:
uses: ./.github/workflows/workflow-build-image.yaml
with:
registry: quay.io/redhat-ai-services
image-name: modelcar-catalog
context: granite-3.0-2b-instruct
containerfile: ./granite-3.0-2b-instruct/Containerfile
tag: "granite-3.0-2b-instruct"
secrets:
registry-username: ${{ secrets.REGISTRY_USERNAME }}
registry-password: ${{ secrets.REGISTRY_PASSWORD }}
hf-token: ${{ secrets.HF_TOKEN }}
# build-mistral-image:
# uses: ./.github/workflows/workflow-build-image.yaml
# with:
# registry: quay.io/redhat-ai-services
# image-name: modelcar-catalog
# context: "mistral-7b-instruct-v0.3"
# containerfile: ./mistral-7b-instruct-v0.3/Containerfile
# tag: "mistral-7b-instruct-v0.3"
# secrets:
# registry-username: ${{ secrets.REGISTRY_USERNAME }}
# registry-password: ${{ secrets.REGISTRY_PASSWORD }}
# hf-token: ${{ secrets.HF_TOKEN }}