Describe the bug
I use gh version 2.49.2.
And I used https://github.com/actions/attest-build-provenance to publish the attestation to the container registry with the push-to-registry option.
How should I verify the integrity and provenance of an container image in google artifact registry using its associated cryptographically signed attestations?
I tried gh attestation verify us-central1-docker.pkg.dev/repoA/imageA:sha256-xxxxx -R github/example. But as the container image is in google artifact registry, it failed with error failed to get open local artifact: open us-central1-docker.pkg.dev/repoA/imageA:sha256-xxxxx. What is the correct way to verify the container image with its associated attestation when I use Google Artifact Registry?
Describe the bug
I use gh version 2.49.2.
And I used https://github.com/actions/attest-build-provenance to publish the attestation to the container registry with the
push-to-registryoption.How should I verify the integrity and provenance of an container image in google artifact registry using its associated cryptographically signed attestations?
I tried
gh attestation verify us-central1-docker.pkg.dev/repoA/imageA:sha256-xxxxx -R github/example. But as the container image is in google artifact registry, it failed with errorfailed to get open local artifact: open us-central1-docker.pkg.dev/repoA/imageA:sha256-xxxxx. What is the correct way to verify the container image with its associated attestation when I use Google Artifact Registry?