Publish the STRATUM Image to a Registry
Inspect the supplied STRATUM container archive.
Before publishing
Inspect the supplied container archive and confirm its operating system and architecture match the destination nodes. Use a registry and tag that the target cluster can actually pull. A local registry is valid for a lab, but production registry policy should follow the target environment.
Publish and verify
Copy the archive into the target registry with skopeo, then inspect the destination reference. Treat registry TLS and authentication according to the target environment. The example flags are not a recommendation to weaken production registry verification.
Commands
Replace example node, registry, namespace, and endpoint values with the values for the target environment.
skopeo inspect docker-archive:stratum-container.tar | \
egrep '"Name"|"Tag"|"Architecture"|"Os"'skopeo --insecure-policy --policy sync-policy.json copy \
docker-archive:stratum-container.tar \
--src-tls-verify=true --dest-tls-verify=false \
--override-os linux --override-arch amd64 \
docker://REGISTRY/NAMESPACE/stratum:TAGThe outcome you should see
The destination registry contains the intended STRATUM image reference and an inspection of that reference reports the expected OS and architecture.
