Builds and deploys a remote client image from your Astro project to a specified remote registry. The command blocks deployment if your client image uses a newer version of Astro Runtime than the target Deployment environment to ensure compatibility.
Mimics docker build --secret flag. Repeat the flag to mount more than one secret. Replaces the deprecated --build-secrets flag. See Build Secrets for more information.
String array Example input: id=mysecret,src=secrets.txt
-h, --help
Help for the command.
N/A
-i, --image-name
Name of a custom image to deploy, or image name with custom tag. The image must be present on the local machine.
String (image name)
--platform
Target platform for client image build. Defaults to host machine platform.