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