Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PHP Laravel pipeline

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 b64decode
return 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:

Screenshot from 2021-07-29 23-51-28.png

Kindly assist on how to handle this.

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,439 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you