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

Use OCI Image Manifest v1 #300

Merged
merged 1 commit into from
May 4, 2021
Merged

Use OCI Image Manifest v1 #300

merged 1 commit into from
May 4, 2021

Conversation

dekkagaijin
Copy link
Member

@dekkagaijin dekkagaijin commented May 4, 2021

Fixes #250

Signed-off-by: Jake Sanders jsand@google.com

@dekkagaijin dekkagaijin requested a review from dlorenc May 4, 2021 18:51
@dekkagaijin
Copy link
Member Author

/cc @jonjohnsonjr

@dekkagaijin
Copy link
Member Author

@jonjohnsonjr any guesses how/where this might not work? GCR is happy

Copy link
Contributor

@jonjohnsonjr jonjohnsonjr left a comment

Choose a reason for hiding this comment

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

I'm honestly surprised GCR doesn't complain.

SPEC.md Outdated Show resolved Hide resolved
pkg/cosign/upload.go Outdated Show resolved Hide resolved
@dlorenc
Copy link
Member

dlorenc commented May 4, 2021

One nit, a one-line integration test of the legacy env var here would be good too: https://github.com/sigstore/cosign/blob/main/test/e2e_test_secrets.sh#L55

// should never happen...?
return nil, err
}
m.Config.MediaType = types.OCIConfigJSON
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh that's interesting. I don't think we intended for that return value to be mutable, but I guess it is...

cc @imjasonh I would consider this a bug.

Copy link
Member

Choose a reason for hiding this comment

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

Hahha.

Copy link
Member Author

@dekkagaijin dekkagaijin May 4, 2021

Choose a reason for hiding this comment

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

let us have our fun :p

I will not be contained!

@dekkagaijin
Copy link
Member Author

One nit, a one-line integration test of the legacy env var here would be good too: https://github.com/sigstore/cosign/blob/main/test/e2e_test_secrets.sh#L55

done

Signed-off-by: Jake Sanders <jsand@google.com>
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.

Spec: Switch to OCI media types
3 participants