docker-attest-build-provenance/.node-version
Giorgi Meskhidze c7e7ebaa8a Update main function to process images and handle errors
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).
2025-02-03 11:48:28 -05:00

3 lines
8 B
Plaintext