Skip to content

CICD-438 · Model registry publishing ​

Encyclopedia · AI and LLM application pipelines · All snippets

Previous · CICD-437 · Next · CICD-439

1. Where it fits ​

  • Placement CI run step or authorized lab terminal.
  • Prerequisites approved synthetic evaluation data, authorized model artifacts and pinned runtime tools.
  • Platforms local-linux, github-actions, gitea-actions.
  • Parameters MODEL_OCI_REF.

2. Copy the snippet ​

bash
oras push "${MODEL_OCI_REF:?}" --artifact-type application/vnd.example.model.config.v1+json model.sha256:application/vnd.example.sha256 model/config.json:application/json

3. How it works ​

ORAS pushes the named configuration and checksum files as an OCI artifact. Record the resulting immutable digest and publish approved model weights separately if required.

4. Verify the result ​

This publishes a small model metadata artifact. Publish approved weights separately when allowed and bind their immutable checksums.

Validation syntax-validated (Bash parse). Status definitions.