Gitlab CI/CD 설정과 .gitlab-ci.yml 작성

Gitlab Registry 설정 gitlab registry는 build한 docker image를 업로드하기 위한 저장소입니다. 기본 Gitlab 패키지에 포함되어 있어 별도의 설치는 필요 없으나 본인 웹서버 환경에 맞게 설정이 필요합니다. 저는 Nginx를 웹서버로 쓰고…

0 Comments

Gitlab runner 설치와 실행 방법(with Ubuntu)

다운로드 아래 명령을 이용해서 다운로드 할 것인데 ${arch} 부분을 본인 환경에 맞게 수정해주어야 한다. 필자의 경우 amd64이므로 amd64를 입력했다. curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb" curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb" 설치 다운로드가 완료되면 gitlab-runner_amd64.deb 파일이…

0 Comments