Hi, am new to bitbucket pipelines. Am creating a bitbucket pipeline to deploy Backend Application. But am getting this and I dont seem to understand why.
INFO: Using passed SSH_KEY...
Traceback (most recent call last):
File "/pipe.py", line 108, in <module>pipe.run()
File "/pipe.py", line 76, in run
self.setup_ssh_config()
File "/pipe.py", line 44, in setup_ssh_config
f.write(base64.b64decode(ssh_key).decode())
File "/usr/local/lib/python3.8/base64.py", line 87, in b64decodereturn binascii.a2b_base64(s)
binascii.Error: Invalid base64-encoded string: number of data characters (549) cannot be 1 more than a multiple of 4
My pipeline fails at the deploy part on pipe:
Kindly assist on how to handle this.