-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.38 KB
/
publish_release_ai_image.yml
File metadata and controls
45 lines (43 loc) · 1.38 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
name: "Publish AI Image(release)"
on:
workflow_dispatch:
inputs:
branch:
required: true
default: ''
description: 'The branch name should be like *-x.x.x, for example release-1.0.0'
jobs:
publish:
uses: ./.github/workflows/_publish_image_reusable.yml
with:
mode: release
component: ai
repository_url: apache/hugegraph-ai
branch: ${{ inputs.branch }}
# IMPORTANT:
# - Keep ARM enabled for normal RAG image (Dockerfile.llm).
# - Keep rag-bin (Dockerfile.nk) on amd64 only due to arm incompatibility.
build_matrix_json: |
[
{
"module": "rag",
"context": ".",
"dockerfile": "./docker/Dockerfile.llm",
"image_repo_latest": "hugegraph/rag",
"image_repo_release": "hugegraph/rag",
"platforms_latest": "linux/amd64,linux/arm64",
"platforms_release": "linux/amd64,linux/arm64",
"smoke_test": false
},
{
"module": "rag-bin",
"context": ".",
"dockerfile": "./docker/Dockerfile.nk",
"image_repo_latest": "hugegraph/rag-bin",
"image_repo_release": "hugegraph/rag-bin",
"platforms_latest": "linux/amd64",
"platforms_release": "linux/amd64",
"smoke_test": false
}
]
secrets: inherit