From ecc5afd7eaa8ea96dbcab67956d1f468ea411214 Mon Sep 17 00:00:00 2001 From: Kubeshop <174873053+ed382@users.noreply.github.com> Date: Wed, 30 Oct 2024 21:01:52 +0100 Subject: [PATCH] feat: install docker scout --- .github/workflows/lint-images.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-images.yaml b/.github/workflows/lint-images.yaml index a82e09562..e16ab2169 100644 --- a/.github/workflows/lint-images.yaml +++ b/.github/workflows/lint-images.yaml @@ -19,8 +19,13 @@ jobs: run: bash ./image_pull_secrets_check.sh working-directory: ./scripts - - uses: docker-practice/actions-setup-docker@master - timeout-minutes: 12 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Install Docker Scout + run: | + curl -fsSL https://raw.githubusercontent.com/docker/scout-cli/main/install.sh | sh + sudo mv docker-scout /usr/local/bin/ - name: Check to make sure that images do not have critical CVEs run: bash ./image_cve_check.sh