Skip to content

Commit 27e1aca

Browse files
committed
for debug
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent bd30b4c commit 27e1aca

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/manual-docker-publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ on:
1111
required: true
1212
type: string
1313
examples:
14-
default: "ChatQnA"
14+
default: "Translation"
1515
description: 'List of examples to test [AudioQnA,ChatQnA,CodeGen,CodeTrans,DocSum,FaqGen,SearchQnA,Translation]'
1616
required: true
1717
type: string
1818
tag:
19-
default: "latest"
19+
default: "v0.9"
2020
description: "Tag to publish"
2121
required: true
2222
type: string
2323
publish_tags:
24-
default: "latest,v1.0"
24+
default: "latest,v0.9"
2525
description: 'Tag list apply to publish images'
2626
required: false
2727
type: string
@@ -39,13 +39,17 @@ jobs:
3939
- name: Set Matrix
4040
id: scan-matrix
4141
run: |
42+
set -x
43+
pip install yq
4244
examples=($(echo ${{ inputs.examples }} | tr ',' ' '))
4345
image_list=[]
4446
for example in ${examples[@]}
4547
do
48+
echo ${example}
4649
images=$(cat ${{ github.workspace }}/${example}/docker/docker_build_compose.yaml | yq -r '.[]' | jq 'keys' | jq -c '.')
4750
image_list=$(echo ${image_list} | jq -s '.[0] + .[1] | unique' - <(echo ${images}))
4851
done
52+
echo $image_list
4953
echo "matrix=$(echo ${image_list} | jq -c '.')" >> $GITHUB_OUTPUT
5054
5155
publish:

0 commit comments

Comments
 (0)