-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpublish_latest_loader_image.yml
More file actions
41 lines (39 loc) · 1.14 KB
/
publish_latest_loader_image.yml
File metadata and controls
41 lines (39 loc) · 1.14 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
name: "Publish loader image(latest)"
on:
schedule:
- cron: '0 23 * * *'
workflow_dispatch:
inputs:
mvn_args:
required: false
default: ''
description: 'mvn build args, like "MAVEN_ARGS=-P stage"'
jobs:
publish:
uses: ./.github/workflows/_publish_image_reusable.yml
with:
mode: latest
component: loader
repository_url: apache/hugegraph-toolchain
branch: master
build_matrix_json: |
[
{
"module": "loader",
"context": ".",
"dockerfile": "./hugegraph-loader/Dockerfile",
"image_repo_latest": "hugegraph/loader",
"image_repo_release": "hugegraph/loader",
"platforms_latest": "linux/amd64,linux/arm64",
"platforms_release": "linux/amd64,linux/arm64",
"smoke_test": false
}
]
use_mvn_args: true
mvn_args: ${{ github.event.inputs.mvn_args || '' }}
enable_hash_gate: true
last_hash_value: ${{ vars.LAST_LOADER_HASH }}
last_hash_name: LAST_LOADER_HASH
hash_repo_owner: hugegraph
hash_repo_name: actions
secrets: inherit