@@ -351,26 +351,13 @@ jobs:
351351 create-manifests :
352352 # Only for Rocky Linux for now
353353 name : Create Multiarch Docker Manifests
354- if : github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push
354+ if : github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && inputs.rocky-linux-9
355355 runs-on : ${{ needs.runner-selection.outputs.runner_name_container_image_build }}
356356 permissions : {}
357357 needs :
358358 - container-image-build
359359 - runner-selection
360360 steps :
361- - name : Install package dependencies
362- run : |
363- sudo apt update
364- sudo apt install -y git unzip python3-wheel python3-pip python3-venv curl jq wget openssh-server openssh-client
365-
366- - name : Install gh
367- run : |
368- sudo mkdir -p -m 755 /etc/apt/keyrings && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
369- sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
370- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
371- sudo apt update
372- sudo apt install gh -y
373-
374361 - name : Download artifacts
375362 uses : actions/download-artifact@v4
376363
@@ -385,8 +372,13 @@ jobs:
385372 username : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_USER }}
386373 password : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_PASS }}
387374
375+ - name : Checkout
376+ uses : actions/checkout@v4
377+ with :
378+ path : src/kayobe-config
379+
388380 - name : Create and push Docker manifests
389- run : tools/multiarch-manifests.sh
381+ run : src/kayobe-config/ tools/multiarch-manifests.sh
390382
391383 - name : Upload manifest logs
392384 uses : actions/upload-artifact@v4
@@ -398,6 +390,15 @@ jobs:
398390 retention-days : 7
399391 if : ${{ !cancelled() }}
400392
393+ trigger-image-sync :
394+ name : Trigger container image repository sync
395+ needs :
396+ - container-image-build
397+ - create-manifests
398+ if : github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled()
399+ runs-on : ubuntu-latest
400+ permissions : {}
401+ steps :
401402 # NOTE(mgoddard): Trigger another CI workflow in the
402403 # stackhpc-release-train repository.
403404 - name : Trigger container image repository sync
@@ -414,9 +415,7 @@ jobs:
414415 -f sync-old-images=false
415416 env :
416417 GITHUB_TOKEN : ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }}
417- if : ${{ github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled() }}
418418
419419 - name : Display link to container image repository sync workflows
420420 run : |
421421 echo "::notice Container image repository sync workflows: https://github.com/stackhpc/stackhpc-release-train/actions/workflows/container-sync.yml"
422- if : ${{ github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled() }}
0 commit comments