Overview
Suppose you configured your app to deploy via Docker Image, i.e., you deployed usingaptible deploy in the past, and you want to switch to deploying via Git instead. In that case, you will need to take the following steps:
Step 1: Push your git repository to a temporary branch. This action will not trigger a deploy, but we’ll use it in just a moment:
--git-commitish argument), and use an empty string for the --docker-image argument to disable deploying via Docker Image.
git push aptible master for all deploys moving forward.
Please note if your app has Private Registry Credentials, Aptible will attempt to log in using these credentials. Unless the app uses a private base image in its Dockerfile, these credentials should not be necessary. To prevent private registry authentication, unset the credentials when deploying:

