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

attest: pass OCI remote opts to att resolver. #3225

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented Sep 6, 2023

Summary

We need cred helpers and other info set in the remote opts to resolve the upstream attesations, otherwise this will fail in automated environments.

/cc @priyawadhwa @strongjz

Release Note

  • Fixed bug in cosign attest where OCI remote configuration wasn't properly set.

Documentation

n/a

We need cred helpers and other info set in the remote opts to resolve
the upstream attesations, otherwise this will fail in automated
environments.

Signed-off-by: Billy Lynch <[email protected]>
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #3225 (422c6f7) into main (3a6f2ab) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #3225   +/-   ##
=======================================
  Coverage   30.33%   30.33%           
=======================================
  Files         155      155           
  Lines        9827     9827           
=======================================
  Hits         2981     2981           
  Misses       6398     6398           
  Partials      448      448           
Files Changed Coverage Δ
cmd/cosign/cli/attest/attest.go 0.00% <0.00%> (ø)

Copy link
Contributor

@priyawadhwa priyawadhwa left a comment

Choose a reason for hiding this comment

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

nice!

@cpanato
Copy link
Member

cpanato commented Sep 7, 2023

thanks!

@cpanato cpanato merged commit a9821df into sigstore:main Sep 7, 2023
28 checks passed
@github-actions github-actions bot added this to the v2.3.0 milestone Sep 7, 2023
lance pushed a commit to securesign/cosign that referenced this pull request Sep 25, 2023
We need cred helpers and other info set in the remote opts to resolve
the upstream attesations, otherwise this will fail in automated
environments.

Signed-off-by: Billy Lynch <[email protected]>
@cpanato cpanato modified the milestones: v2.3.0, v2.2.1 Nov 16, 2023
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.

3 participants