3939 required : false
4040 default : " dev_container_build"
4141jobs :
42- get-called-ref :
43- name : Get called ref
44- runs-on : ubuntu-latest
45- outputs :
46- ref : ${{ steps.get_called_ref.outputs.caller-ref }}
47- steps :
48- - id : get_called_ref
49- uses : NHSDigital/eps-common-workflows/.github/actions/get_called_ref@dev_container_build
50- with :
51- GH_TOKEN_ADMIN : ${{ secrets.GITHUB_TOKEN }}
5242 quality_checks :
5343 runs-on : ubuntu-22.04
5444 steps :
@@ -431,7 +421,6 @@ jobs:
431421 path : cfn_guard_output
432422
433423 build_dev_container_x64 :
434- needs : [get-called-ref]
435424 permissions :
436425 id-token : write
437426 runs-on : ubuntu-22.04
@@ -445,7 +434,7 @@ jobs:
445434 env :
446435 SCRIPT_TAG : ${{ inputs.check_ecr_image_scan_results_script_tag }}
447436 run : |
448- curl -L "https://raw.githubusercontent.com/NHSDigital/eps-common-workflows/${{ needs.get-called-ref.outputs.ref } }/.github/scripts/check_ecr_image_scan_results.sh" -o check_ecr_image_scan_results.sh
437+ curl -L "https://raw.githubusercontent.com/NHSDigital/eps-workflow-quality-checks/refs/heads/${SCRIPT_TAG }/.github/scripts/check_ecr_image_scan_results.sh" -o check_ecr_image_scan_results.sh
449438 chmod +x check_ecr_image_scan_results.sh
450439 - name : Build dev container
451440 run : |
@@ -488,7 +477,6 @@ jobs:
488477 ./check_ecr_image_scan_results.sh
489478
490479 build_dev_container_arm64 :
491- needs : [get-called-ref]
492480 permissions :
493481 id-token : write
494482 runs-on : ubuntu-22.04-arm
@@ -502,7 +490,7 @@ jobs:
502490 env :
503491 SCRIPT_TAG : ${{ inputs.check_ecr_image_scan_results_script_tag }}
504492 run : |
505- curl -L "https://raw.githubusercontent.com/NHSDigital/eps-common-workflows/${{ needs.get-called-ref.outputs.ref } }/.github/scripts/check_ecr_image_scan_results.sh" -o check_ecr_image_scan_results.sh
493+ curl -L "https://raw.githubusercontent.com/NHSDigital/eps-common-workflows/refs/heads/${SCRIPT_TAG }/.github/scripts/check_ecr_image_scan_results.sh" -o check_ecr_image_scan_results.sh
506494 chmod +x check_ecr_image_scan_results.sh
507495
508496 - name : Build dev container
0 commit comments