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 51
51
body : >
52
52
This PR was created automatically to update the overcloud host image
53
53
tags to:
54
- Rocky 9: ${{ inputs.rocky9_tag }}'
54
+ Rocky 9: ${{ inputs.rocky9_tag }}
55
55
Ubuntu Noble: ${{ inputs.ubuntu_noble_tag }}
56
56
labels : |
57
57
automated
Original file line number Diff line number Diff line change @@ -396,9 +396,9 @@ jobs:
396
396
gh workflow run \
397
397
amphora-image-build.yml \
398
398
--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)
402
402
env :
403
403
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
404
404
BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
You can’t perform that action at this time.
0 commit comments