@@ -351,26 +351,13 @@ jobs:
351
351
create-manifests :
352
352
# Only for Rocky Linux for now
353
353
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
355
355
runs-on : ${{ needs.runner-selection.outputs.runner_name_container_image_build }}
356
356
permissions : {}
357
357
needs :
358
358
- container-image-build
359
359
- runner-selection
360
360
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
-
374
361
- name : Download artifacts
375
362
uses : actions/download-artifact@v4
376
363
@@ -385,8 +372,13 @@ jobs:
385
372
username : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_USER }}
386
373
password : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_PASS }}
387
374
375
+ - name : Checkout
376
+ uses : actions/checkout@v4
377
+ with :
378
+ path : src/kayobe-config
379
+
388
380
- name : Create and push Docker manifests
389
- run : tools/multiarch-manifests.sh
381
+ run : src/kayobe-config/ tools/multiarch-manifests.sh
390
382
391
383
- name : Upload manifest logs
392
384
uses : actions/upload-artifact@v4
@@ -398,6 +390,15 @@ jobs:
398
390
retention-days : 7
399
391
if : ${{ !cancelled() }}
400
392
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 :
401
402
# NOTE(mgoddard): Trigger another CI workflow in the
402
403
# stackhpc-release-train repository.
403
404
- name : Trigger container image repository sync
@@ -414,9 +415,7 @@ jobs:
414
415
-f sync-old-images=false
415
416
env :
416
417
GITHUB_TOKEN : ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }}
417
- if : ${{ github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled() }}
418
418
419
419
- name : Display link to container image repository sync workflows
420
420
run : |
421
421
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