@@ -358,14 +358,9 @@ jobs:
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
361
- name : Install gh
367
362
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
363
+ sudo mkdir -p -m 755 /etc/apt/keyrings && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
369
364
sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
370
365
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
366
sudo apt update
@@ -385,8 +380,13 @@ jobs:
385
380
username : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_USER }}
386
381
password : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_PASS }}
387
382
383
+ - name : Checkout
384
+ uses : actions/checkout@v4
385
+ with :
386
+ path : src/kayobe-config
387
+
388
388
- name : Create and push Docker manifests
389
- run : tools/multiarch-manifests.sh
389
+ run : src/kayobe-config/ tools/multiarch-manifests.sh
390
390
391
391
- name : Upload manifest logs
392
392
uses : actions/upload-artifact@v4
@@ -398,6 +398,15 @@ jobs:
398
398
retention-days : 7
399
399
if : ${{ !cancelled() }}
400
400
401
+ trigger-image-sync :
402
+ name : Trigger container image repository sync
403
+ needs :
404
+ - container-image-build
405
+ - create-manifests
406
+ if : github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled()
407
+ runs-on : ubuntu-latest
408
+ permissions : {}
409
+ steps :
401
410
# NOTE(mgoddard): Trigger another CI workflow in the
402
411
# stackhpc-release-train repository.
403
412
- name : Trigger container image repository sync
@@ -414,9 +423,7 @@ jobs:
414
423
-f sync-old-images=false
415
424
env :
416
425
GITHUB_TOKEN : ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }}
417
- if : ${{ github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled() }}
418
426
419
427
- name : Display link to container image repository sync workflows
420
428
run : |
421
429
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