Skip to main content

Build and storage example

Compare the rendered build acceptance, published image, file tree, and downlink result examples while following this workflow.

This directory contains the files used by Build an image and retrieve an artifact:

  • Dockerfile builds from the pilot-approved PyTorch base image.
  • app.py writes a small result to /data/results/build-demo.txt.
  • image-build.yaml describes the storage paths and registry destination.
  • workload.yaml shows the fully qualified image for the example tenant-a. Replace its complete image value with the image field returned by your successful build.

The build destination demo/hello is tenant-relative. OmniCloud publishes it as registry.dphi.space/<tenant-id>/demo/hello:v1; workload specifications use that fully qualified value.

workload.yaml deliberately omits mounts: the tenant's default volume stays at /data. For explicit named mounts and lifecycle commands, see the named storage mount example. Requested capacity is not a hard byte cap or actual file usage. Named-volume deletion is asynchronous and permanent, without platform backups or recovery, and can interrupt transfers; the default volume is protected from deletion.

Follow the linked guide from the repository root. The example is not submitted automatically and contains no credentials.