Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/build-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ on:
default: ''
required: false
type: string
ref:
description: 'Git branch or ref to run the workflow on'
required: false
type: string
default: 'main'
jobs:
build_container_amd64:
name: Build container (amd64)
Expand Down Expand Up @@ -237,7 +242,7 @@ jobs:
echo "Building container: $container"
# The cut -d',' -f2- won't make empty list for single element ...
if [[ $to_build_list == $container ]]; then
gh workflow run build-manual.yml --repo SourceMation/images -f container_name=$container
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 }}
else
gh workflow run build-manual.yml --repo SourceMation/images -f container_name=$container -f next_containers=$to_build_list
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
fi
Loading