alexjurkiewicz / ecr-scan-image

Github Action to run AWS ECR vulnerability scan on Docker image
MIT License
28 stars 23 forks source link

Issue scanning images built with buildx and OCI image manifest #43

Closed altmas5 closed 11 months ago

altmas5 commented 11 months ago

Hi,

I am new using this action, it looks it does not support the OCI image manifest:

Requesting image scan
Error: An artifact with media type 'application/vnd.oci.image.index.v1+json' cannot be scanned. For more information, see the Amazon ECR documentation.

I am adding this issue in case anyone encounters the same.

altmas5 commented 11 months ago

Nevermind, it seems to be an issue on ECR https://github.com/moby/buildkit/issues/3499

altmas5 commented 11 months ago

This was my solution:

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3
        with:
          version: v0.9.1