File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 40
40
default : " main"
41
41
required : false
42
42
type : string
43
+ inject_commit :
44
+ default : false
45
+ required : false
46
+ type : string
47
+
43
48
jobs :
44
49
# ###################################################################################################
45
50
# Image Build
83
88
docker_compose_path : ${{ github.workspace }}/${{ inputs.example }}/docker_image_build/build.yaml
84
89
service_list : ${{ inputs.services }}
85
90
registry : ${OPEA_IMAGE_REPO}opea
91
+ inject_commit : ${{ inputs.inject_commit }}
86
92
tag : ${{ inputs.tag }}
87
93
88
94
# ###################################################################################################
Original file line number Diff line number Diff line change 50
50
description : ' OPEA branch for image build'
51
51
required : false
52
52
type : string
53
+ inject_commit :
54
+ default : true
55
+ description : " inject commit to docker images true or false"
56
+ required : false
57
+ type : string
53
58
54
59
permissions : read-all
55
60
jobs :
@@ -101,4 +106,5 @@ jobs:
101
106
test_k8s : ${{ fromJSON(inputs.test_k8s) }}
102
107
test_gmc : ${{ fromJSON(inputs.test_gmc) }}
103
108
opea_branch : ${{ inputs.opea_branch }}
109
+ inject_commit : ${{ inputs.inject_commit }}
104
110
secrets : inherit
Original file line number Diff line number Diff line change 30
30
description : ' OPEA branch for image build'
31
31
required : false
32
32
type : string
33
+ inject_commit :
34
+ default : true
35
+ description : " inject commit to docker images true or false"
36
+ required : false
37
+ type : string
38
+
33
39
jobs :
34
40
get-test-matrix :
35
41
runs-on : ubuntu-latest
56
62
services : ${{ inputs.services }}
57
63
tag : ${{ inputs.tag }}
58
64
opea_branch : ${{ inputs.opea_branch }}
65
+ inject_commit : ${{ inputs.inject_commit }}
59
66
secrets : inherit
You can’t perform that action at this time.
0 commit comments