Skip to content

Commit f90bc94

Browse files
committed
extra args
1 parent 1b7bc5e commit f90bc94

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,13 @@ jobs:
397397
amphora-image-build.yml \
398398
--repo stackhpc/stackhpc-kayobe-config \
399399
--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 }}
400+
$EXTRA_ARGS
402401
env:
403402
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
404403
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
404+
EXTRA_ARGS: |
405+
{{ '-f rocky9_tag=' + ${{ steps.host_image_tag.outputs.host_image_tag }} + '\' if ${{ inputs.rocky9 }} }}
406+
{{ '-f ubuntu_noble_tag=' + ${{ steps.host_image_tag.outputs.host_image_tag }} if ${{ inputs.ubuntu-noble }} }}
405407
406408
- name: Display link to update overcloud host image tags workflows
407409
run: |

0 commit comments

Comments
 (0)