Skip to content

Commit 685c0b0

Browse files
committed
extra args
1 parent 1b7bc5e commit 685c0b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/amphora-image-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
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

.github/workflows/overcloud-host-image-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)