Last active
February 16, 2022 06:52
-
-
Save dinushchathurya/2fb83a2cc20ba533d9dd4f150e7000a3 to your computer and use it in GitHub Desktop.
Laravel GitLab CI/CD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo gitlab-runner status | |
Docker-Image: docker:19.03.12 | |
sudo vim /etc/gitlab-runner/config.toml | |
privileged: ture | |
sudo apt-get install docker docker-compose -y | |
sudo vim/etc/ssh/sshd_config | |
(password authentication: true) | |
sudo adduser developer | |
sudo -aG docker developer | |
su developer | |
ssh-keygen -b 4096 | |
cat ~/..ssh/id_rsa.pub >> ~/.ssh/authorized_keys | |
sudo userdel developer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment