- Project deploys: Run
astro deployto build every non-Dag file in your Astro project as a Docker image and deploy the image to all Airflow components in a Deployment. This includes yourDockerfile, plugins, and all Python and OS-level packages. Dags are deployed separately to each Airflow component through a sidecar container. See Deploy a project image. - Dag-only deploys: Run
astro deploy --dagsto deploy only your Dag files to Astro. If you only need to deploy Dag changes, running this command is faster than runningastro deploysince it doesn’t require installing dependencies. See Deploy Dags. - Image-only deploys: Run
astro deploy --imageto build and deploy your Astro project configurations as a Docker image without deploying your Dags. This is useful if you have a multi-repo CI/CD strategy, and you want to deploy your Dags and project configurations from different repositories or storage buckets. See Image-only deploys. - dbt deploys: Run
astro deploy --dbtto deploy only a dbt project to Astro. See Deploy dbt projects to Astro. You must use this command to deploy dbt projects to Astro. - Remote Execution project deploys: For Deployments configured for Remote Execution, use
astro deployto build and deploy the Runtime (orchestration plane) image, and useastro remote deployto build and push client images for your Remote Execution Agents. See Initialize and deploy Remote Execution projects for full instructions. - GitHub integration deploys: The Astronomer GitHub integration allows you to map a branch from your GitHub repository to directly deploy to Astro after you merge pull requests to the mapped branch. See Deploy code with the Astro GitHub integration.
For Dags running on Astro using Hosted execution mode, Astro configures a specialized versioned Dag bundle automatically, without any need for additional setup. Configuring custom Dag bundles and using several Dag bundles in the same Astro Deployment is only supported when using Remote Execution mode. For more information, see Configure Dag bundles for Remote Execution.