-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Store artifact image as oci-dir #108
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
termoshtt
changed the title
OCI Artifact support
OCI Artifact support based on OCI image spec 1.
Apr 15, 2024
termoshtt
changed the title
OCI Artifact support based on OCI image spec 1.
OCI Artifact support based on OCI image spec 1.1
Apr 15, 2024
…tation to reflect the change.
termoshtt
added a commit
that referenced
this pull request
Apr 25, 2024
Split from #108 This PR introduces three media types, `application/vnd.ocipkg.v1.{artifact,config+json,layer.tar+gzip}`: - `application/vnd.ocipkg.v1.artifact` is set as `artifactType` in [OCI Image Manifest](https://github.com/opencontainers/image-spec/blob/v1.1.0/manifest.md). Manifest with this type must satisfying followings: - `config` must be `application/vnd.ocipkg.v1.config+json`. This is a map from the digest of layer to file path list contained the layer like: ```json { "layers": { "sha256:9b56444eec38adba2fbf7381ed832de98489045c6b322e36388b8ba29ebac595": [ "test/Dockerfile", "test/fixture.sh" ] } } ``` - `layers` must be a list of descriptors with `application/vnd.ocipkg.v1.layer.tar+gzip` media type
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
image::{Artifact, Builder}
are introduced to represent ocipkg's artifact and its builder.application/vnd.ocipkg.v1.artifact
and old style artifact used in 0.2.x. It is calledv0
format.