Add logic to process each image for attestation and handle errors in `src/main.ts`.
* **src/main.ts**
- Add logic to process each image for attestation.
- Add logic to handle errors and fail the workflow run if an error is encountered.
- Add `processImageForAttestation` function to process images.
* **__tests__/main.test.ts**
- Add test cases to verify the processing of each image for attestation.
- Add test cases to verify the handling of errors and failing the workflow run.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/GIgako19929/attest-build-provenance?shareId=XXXX-XXXX-XXXX-XXXX).