nebius/nebius-physical-ai/build-and-push-image
Claude Code and agent skill by nebius/nebius-physical-ai
- community
Checking that the SKILL.md file is still in the repository.
Use when building, tagging, validating, or publishing NPA workbench container images through immutable full-SHA public development tags and digest-identical supported GHCR releases.
Install
npx vskill@latest install nebius/nebius-physical-ai/build-and-push-imageSKILL.md
The same SKILL.md was published earlier as nebius/nebius-physical-ai/build-and-push-image.
Build And Push Image
Load and obey skills/atomic/secure-image-build/SKILL.md before every image build, tag, push, copy, or promotion. That skill defines the mandatory order and refusal conditions; this skill records NPA-specific build and GPU details.
Build Contract
Before building with npa/ as the Docker context, stage the top-level workflow catalog into the ignored package data from the repository root:
Repeat after catalog edits. The generated main/ and testing/ copies under npa/src/npa/workflows/ belong only to the build context; edit workflows/main/ and workflows/testing/ as the source of truth.
- Build only a checked-in Dockerfile under
npa/docker/workbench/<tool>/. - Resolve the exact 40-character commit and use the one official namespace,
ghcr.io/nebius/nebius-physical-ai. A pre-release tag is exactly dev-<full-git-sha> on the normal npa-<tool> package.
- Require
redistribution: publicbefore any official push. Resolve the selected
image's current classification from npa/docker/workbench/packaging-contract.yaml and the restriction inventories in npa/src/npa/deploy/images.py; stop if they disagree. Build restricted images only into an operator-controlled registry; neither a private package nor a development tag changes licensing. Historical image classifications do not establish the eligibility of replacement bytes. The current catalog, for example, records cosmos3-super-benchmark as restricted; always re-read that classification before a build.
- Run every pre-publication security, packaging, payload, provenance, SBOM,
vulnerability, secret, non-root, base-pin, and bootstrap-contract gate before pushing the public development tag.
- After push, resolve the immutable digest, repeat exact-digest checks, and
verify anonymous pullability. Use that digest for functional GPU validation.
- Promote only the real-GPU-validated digest to the supported release tag with
npa.deploy.publish_public; verify digest parity and anonymous pull afterward, then record the accepted release digest for anonymous read-only health checks.
Use NPA_PUBLIC_REGISTRY only to select the configured official namespace. NPA_REGISTRY remains the generic build/BYOF destination. Repository-owned runtime defaults ignore it; custom runtime bytes require an explicit image or workflow --registry. Do not introduce a second official source registry or a separate pre-release package naming convention.
Packaging And Runtime Fetch
Read docs/workbench/container-packaging.md and update npa/docker/workbench/packaging-contract.yaml when an image or tier changes. Make the final stage non-root, pin resolvable bases by digest, keep credentials and generated data out of layers, and make service health machine-checkable.
Runtime-fetch images must prove absence on the built artifact. Use scan_image_omniverse_payload.py for Isaac-family images and scan_image_ltx_payload.py for LTX. LTX source and weights both remain runtime fetches under the operator's entitled HF_TOKEN; never fetch either at build time or cache acceptance in the image.
For SkyPilot workflow images, prove the versioned bootstrap behavior before adding its OCI label. A label is an attestation of tested behavior, not a switch that makes the behavior true.
GPU Architecture Coverage
Choose the GPU with skills/atomic/gpu-selection/SKILL.md. Prebuilt Torch wheels ship fixed architecture sets; TORCH_CUDA_ARCH_LIST affects only source-built extensions. Check wheel flags with torch._C._cuda_getArchFlags() and validate custom kernels on the target hardware.
npa-base's CUDA 13 contract covers sm_80, sm_90, sm_100, sm_103, and sm_120; its wheel must report sm_80, sm_90, sm_100, and sm_120. Validate datacenter Blackwell images with npa/scripts/validate_blackwell_image.sh <image> --target b200|b300 --gpu and record truthful additive tags in npa/docker/workbench/blackwell-dc-images.json.
Verify
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/atomic/build-and-push-image/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nebius/nebius-physical-ai/build-and-push-image)