I have a fastlane file and the certs repo resides in Gitlab privately. I’ve been trying almost a week and I never make it work. I tried to enable deploy keys with private keys on Gitlab but still nothing happened.
I follow this steps in order to verify myself
What bugs me is my repo and match files resides in the same repo. Bitrise successfully clone the repo but not the Fastlane match files.
Here is my Matchfile:
git_url("firstname.lastname@example.org:my_username/private_cert-files.git") storage_mode("git") type("adhoc")
Here is my FastFile:
lane :sync_signing_assets do |options| # sync_device_info selected_type = options[:type] match(type: selected_type, readonly: true, git_private_key: "SHA256:LzEnYd7ZZbnKW3LmwSm11233XYG3NB4iDUMMY_DATA_wY") end
I also set secret env variable MATCH_PASSWORD which is my gitlab password. But still giving me the error:
[21:54:50]: Exit status: 128
[21:54:50]: Error cloning certificates repo, please make sure you have read access to the repository you want to use
Thanks bunch any help and recommendations.