From 79b5e9045f6877e9ea74bdf55e533d30de5b4c97 Mon Sep 17 00:00:00 2001 From: mlewk Date: Mon, 15 Jan 2024 17:07:14 +0100 Subject: [PATCH] Setup inspector-sbomgen --- .github/workflows/amazon-inspector-image-scan.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/amazon-inspector-image-scan.yml b/.github/workflows/amazon-inspector-image-scan.yml index 63076ee..9977700 100644 --- a/.github/workflows/amazon-inspector-image-scan.yml +++ b/.github/workflows/amazon-inspector-image-scan.yml @@ -32,4 +32,11 @@ jobs: context: ${{ inputs.docker-context }} push: true tags: localhost:5000/${{ inputs.docker-image-name }}:latest - + - name: Setup Inspector Sbomgen + - uses: plinioh/setup-binary-action@v1.0.0 + with: + binaryName: inspector-sbomgen + binaryUrl: https://amazon-inspector-sbomgen.s3.amazonaws.com/latest/linux/amd64/inspector-sbomgen.zip + binaryPathInArchive: inspector-sbomgen/inspector-sbomgen + - name: Test Inspector Sbomgen + run: inspector-sbomgen --version \ No newline at end of file