I'm trying to clone my bitbucket repo using ssh (which works perfectly fine on my local machine) on Airflow to continue executing several scripts. Since the keys are present locally I always get the following error while running my DAG on docker, and I believe the same will happen when running this on the server.
raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['git', 'clone', 'ssh://[email protected]:7999/app.git', 'app']' returned non-zero exit status 128.
How can I mount (or maybe pass) the key onto my docker container as well as the airflow server in order to achieve this cloning step?
stdoutandstderrin order to have a look at the error message