Private Repositories#
- Give the deploy key access to the Git repositories in your GitHub/GitLab/BitBucket.
- Add
ARG LAGOON_SSH_PRIVATE_KEYto yourdockerfile(before the step of the build process that needs the SSH key). - Add
RUN /lagoon/entrypoints/05-ssh-key.shto yourdockerfile(before the step of the build process that needs the SSH key).