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

application/vnd.ocipkg.v1.artifact as OCI Artifact #116

Merged
merged 11 commits into from
Apr 25, 2024

Conversation

termoshtt
Copy link
Owner

@termoshtt termoshtt commented 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. 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:
      {
        "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

@termoshtt termoshtt self-assigned this Apr 25, 2024
@termoshtt termoshtt changed the base branch from oci-artifact to main April 25, 2024 04:29
@termoshtt termoshtt changed the title application/vnd.ocipkg.v1.artifact application/vnd.ocipkg.v1.artifact as OCI Artifact Apr 25, 2024
@termoshtt termoshtt marked this pull request as ready for review April 25, 2024 14:56
@termoshtt termoshtt merged commit 5737456 into main Apr 25, 2024
15 checks passed
@termoshtt termoshtt deleted the oci-artifact-manifest branch April 25, 2024 14:57
@termoshtt termoshtt added the add Add new features. label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add Add new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant