File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5151 body : >
5252 This PR was created automatically to update the overcloud host image
5353 tags to:
54- Rocky 9: ${{ inputs.rocky9_tag }}'
54+ Rocky 9: ${{ inputs.rocky9_tag }}
5555 Ubuntu Noble: ${{ inputs.ubuntu_noble_tag }}
5656 labels : |
5757 automated
Original file line number Diff line number Diff line change @@ -396,9 +396,9 @@ jobs:
396396 gh workflow run \
397397 amphora-image-build.yml \
398398 --repo stackhpc/stackhpc-kayobe-config \
399- --ref $BRANCH_NAME \
400- -f rocky9_tag=${{ steps.host_image_tag.outputs.host_image_tag }} \
401- - f ubuntu_noble_tag=${{ steps.host_image_tag.outputs.host_image_tag }}
399+ --ref $BRANCH_NAME
400+ $(if [[ "${{ inputs.rocky9 }}" == "true" ]]; then echo " -f rocky9_tag=${{ steps.host_image_tag.outputs.host_image_tag }}"; fi) \
401+ $(if [[ "${{ inputs.ubuntu-noble }}" == "true" ]]; then echo "- f ubuntu_noble_tag=${{ steps.host_image_tag.outputs.host_image_tag }}"; fi)
402402 env :
403403 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
404404 BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
You can’t perform that action at this time.
0 commit comments