@@ -358,14 +358,9 @@ jobs:
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-
366361 - name : Install gh
367362 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
369364 sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
370365 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
371366 sudo apt update
@@ -385,8 +380,13 @@ jobs:
385380 username : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_USER }}
386381 password : ${{ secrets.RLS_TRAIN_CI_ARK_REGISTRY_PASS }}
387382
383+ - name : Checkout
384+ uses : actions/checkout@v4
385+ with :
386+ path : src/kayobe-config
387+
388388 - name : Create and push Docker manifests
389- run : tools/multiarch-manifests.sh
389+ run : src/kayobe-config/ tools/multiarch-manifests.sh
390390
391391 - name : Upload manifest logs
392392 uses : actions/upload-artifact@v4
@@ -398,6 +398,15 @@ jobs:
398398 retention-days : 7
399399 if : ${{ !cancelled() }}
400400
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 :
401410 # NOTE(mgoddard): Trigger another CI workflow in the
402411 # stackhpc-release-train repository.
403412 - name : Trigger container image repository sync
@@ -414,9 +423,7 @@ jobs:
414423 -f sync-old-images=false
415424 env :
416425 GITHUB_TOKEN : ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }}
417- if : ${{ github.repository == 'stackhpc/stackhpc-kayobe-config' && inputs.push && !cancelled() }}
418426
419427 - name : Display link to container image repository sync workflows
420428 run : |
421429 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