Skip to content

Commit

Permalink
add option to set build-kit base tag
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Nov 28, 2024
1 parent f9d9a96 commit 1d1c89b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ on:
required: false
default: '.ci/build-kit/scripts'
type: string
build_kit_base_image_tag:
description: 'The tag of the base image to use for the build kit'
required: false
default: ''
type: string
# Build inputs
ctest_report_path:
description: 'The path to the ctest report, relative to the github workspace'
Expand Down Expand Up @@ -249,6 +254,12 @@ jobs:
exit 1
fi
# if inputs.build_kit_base_image_tag is != "", use it as the tag
if [ -n "${{ inputs.build_kit_base_image_tag }}" ]; then
echo "Using inputs.build_kit_base_image_tag as tag"
TAG="${{ inputs.build_kit_base_image_tag }}"
fi
echo "latest_tag=$TAG" >> $GITHUB_OUTPUT
build-the-build-kit:
Expand Down

0 comments on commit 1d1c89b

Please sign in to comment.