Pull Request Overview
This PR fixes a Docker attestation issue in the GitHub Actions workflow example by reordering the image list in the metadata action. The problem occurred because the attestation step targets GHCR but was trying to fetch a Docker Hub digest, resulting in a 404 error.
Key changes:
- Reorders the image list in
docker/metadata-action to prioritize GHCR over Docker Hub
- Ensures the digest output from
docker/build-push-action points to an existing GHCR manifest
Originally posted by @copilot-pull-request-reviewer in github/docs#40292 (review)
Pull Request Overview
This PR fixes a Docker attestation issue in the GitHub Actions workflow example by reordering the image list in the metadata action. The problem occurred because the attestation step targets GHCR but was trying to fetch a Docker Hub digest, resulting in a 404 error.
Key changes:
docker/metadata-actionto prioritize GHCR over Docker Hubdocker/build-push-actionpoints to an existing GHCR manifestOriginally posted by @copilot-pull-request-reviewer in github/docs#40292 (review)