Skip to content

Commit bfcc986

Browse files
committed
move scan earlier
1 parent 3cf0087 commit bfcc986

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

.github/workflows/quality-checks.yml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,15 @@ jobs:
404404
run: |
405405
docker tag "dev-container-image" "${{ steps.retrieve-deploy-account-id.outputs.account_id }}.dkr.ecr.eu-west-2.amazonaws.com/${{ inputs.dev_container_ecr }}:${{ inputs.dev_container_image_tag }}-amd64"
406406
docker push "${{ steps.retrieve-deploy-account-id.outputs.account_id }}.dkr.ecr.eu-west-2.amazonaws.com/${{ inputs.dev_container_ecr }}:${{ inputs.dev_container_image_tag }}-amd64"
407+
- name: Check dev container scan results
408+
env:
409+
REPOSITORY_NAME: ${{ inputs.dev_container_ecr }}
410+
IMAGE_TAG: ${{ inputs.dev_container_image_tag }}-amd64
411+
working-directory: .github/scripts
412+
run: |
413+
# Wait a moment for ECR to process the new manifest
414+
sleep 30
415+
./check_ecr_image_scan_results.sh
407416
408417
build_dev_container_arm64:
409418
permissions:
@@ -443,6 +452,15 @@ jobs:
443452
run: |
444453
docker tag "dev-container-image-arm" "${{ steps.retrieve-deploy-account-id.outputs.account_id }}.dkr.ecr.eu-west-2.amazonaws.com/${{ inputs.dev_container_ecr }}:${{ inputs.dev_container_image_tag }}-arm64"
445454
docker push "${{ steps.retrieve-deploy-account-id.outputs.account_id }}.dkr.ecr.eu-west-2.amazonaws.com/${{ inputs.dev_container_ecr }}:${{ inputs.dev_container_image_tag }}-arm64"
455+
- name: Check dev container scan results
456+
env:
457+
REPOSITORY_NAME: ${{ inputs.dev_container_ecr }}
458+
IMAGE_TAG: ${{ inputs.dev_container_image_tag }}-arm64
459+
working-directory: .github/scripts
460+
run: |
461+
# Wait a moment for ECR to process the new manifest
462+
sleep 30
463+
./check_ecr_image_scan_results.sh
446464
447465
create_multi_arch_manifest:
448466
permissions:
@@ -494,13 +512,3 @@ jobs:
494512
run: |
495513
echo "=== Verifying multi-architecture manifest ==="
496514
docker buildx imagetools inspect ${{ steps.retrieve-deploy-account-id.outputs.account_id }}.dkr.ecr.eu-west-2.amazonaws.com/${{ inputs.dev_container_ecr }}:${{ inputs.dev_container_image_tag }}
497-
498-
- name: Check dev container scan results
499-
env:
500-
REPOSITORY_NAME: ${{ inputs.dev_container_ecr }}
501-
IMAGE_TAG: ${{ inputs.dev_container_image_tag }}
502-
working-directory: .github/scripts
503-
run: |
504-
# Wait a moment for ECR to process the new manifest
505-
sleep 30
506-
./check_ecr_image_scan_results.sh

0 commit comments

Comments
 (0)