Skip to content

Conversation

@migmartri
Copy link
Member

This patch adds support to providing OCI credentials via command-line flags or env variables, that will be used to authenticate during CONTAINER_IMAGE attestations.

Before, chain loop att add was loading the default docker credentials stored in ~/.docker/config, and although this is still the default behavior, now, optionally, the credentials can be explicitly set.

This is important because of our push to support stateless, encapsulated, attestation processes #501

This is also a requirement to fix #511

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Copy link
Member

@danlishka danlishka left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri changed the title feat(cli): explicit oci credentials support feat(attestation): explicit OCI credentials support Feb 15, 2024
@migmartri migmartri merged commit dcf1380 into chainloop-dev:main Feb 15, 2024
@migmartri migmartri deleted the fix-dagger branch February 15, 2024 12:55
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.

bug(dagger): attestation-add issue

2 participants