-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (47 loc) · 1.32 KB
/
commit-stage.yml
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
name: Commit Stage
on:
push:
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '*.adoc'
- '*.png'
- '*.md'
- 'docs/**'
- '.github/ISSUE_TEMPLATE/**'
- '.github/*.md'
- '.github/*.yml'
- '.github/*.yaml'
schedule: # Every Monday
- cron: '0 0 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
publish:
name: Publish
permissions:
actions: read
contents: read
id-token: write
packages: write
uses: ./.github/workflows/multi-arch-publish.yml
strategy:
fail-fast: false
matrix:
project: [
{context: ollama/aya, image: ollama-aya},
{context: ollama/gemma2, image: ollama-gemma2},
{context: ollama/llama3.2, image: ollama-llama3-2},
{context: ollama/llava, image: ollama-llava},
{context: ollama/mistral, image: ollama-mistral},
{context: ollama/moondream, image: ollama-moondream},
{context: ollama/nomic-embed-text, image: ollama-nomic-embed-text},
{context: ollama/phi3.5, image: ollama-phi3-5},
{context: ollama/qwen2.5, image: ollama-qwen2-5},
]
with:
context: ${{ matrix.project.context }}
image: ${{ matrix.project.image }}
secrets:
push-token: ${{ secrets.IMAGE_PUSH_TOKEN }}