Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: expose image manifest digest of all copied artifacts #1086

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

ralphbean
Copy link
Member

See enterprise-contract/ec-cli#1698

ec expects to validate a signature for every image manifest referred to
in a image index. By exposing this additional result, we induce chains
to sign each one.

See enterprise-contract/ec-cli#1698

ec expects to validate a signature for every image manifest referred to
in a image index. By exposing this additional result, we induce chains
to sign each one.
@ralphbean ralphbean requested a review from chmeliik June 21, 2024 20:42
@ralphbean ralphbean merged commit 08fdf92 into main Jun 21, 2024
7 checks passed
echo "Writing ${reference} to $(results.IMAGES.path)"
echo -n "${reference}" >> $(results.IMAGES.path)
done
echo -n "$IMAGE@$(cat $(results.IMAGE_DIGEST.path))" >> $(results.IMAGES.path)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This imposes a pretty nasty limit on the number of images that this task can copy (before the result breaks the 4kb size limit). If the general expectation is that this task will be used for copying, say, 10 artifacts, we should be good. But maybe EC could (should it?) support signed index images referencing unsigned manifests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants