File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 146146 default : ' '
147147 required : false
148148 type : string
149+ ref :
150+ description : ' Git branch or ref to run the workflow on'
151+ required : false
152+ type : string
153+ default : ' main'
149154jobs :
150155 build_container_amd64 :
151156 name : Build container (amd64)
@@ -237,7 +242,7 @@ jobs:
237242 echo "Building container: $container"
238243 # The cut -d',' -f2- won't make empty list for single element ...
239244 if [[ $to_build_list == $container ]]; then
240- gh workflow run build-manual.yml --repo SourceMation/images -f container_name=$container
245+ gh workflow run build-manual.yml --repo SourceMation/images --ref ${{ inputs.ref }} - f container_name=$container -f push_image=${{ inputs.push_image }} -f test_image=${{ inputs.test_image }} -f push_readme=${{ inputs.push_readme }}
241246 else
242- gh workflow run build-manual.yml --repo SourceMation/images -f container_name=$container -f next_containers=$to_build_list
247+ gh workflow run build-manual.yml --repo SourceMation/images --ref ${{ inputs.ref }} - f container_name=$container -f push_image=${{ inputs.push_image }} -f test_image=${{ inputs.test_image }} -f push_readme=${{ inputs.push_readme }} -f next_containers=$to_build_list
243248 fi
You can’t perform that action at this time.
0 commit comments