dockerhub 썸네일형 리스트형 [리눅스] jenkins gitlab 연동(webhook 설정) jenkins gitlab 연동(webhook 설정) gitlab 구성 .env 편집 cat 액세스 토큰 > 개인 액세스 토큰 (or 프로필 > 환경설정 > 액세스 토큰 > 개인 액세스 토큰) 액세스 토큰 생성 - Token name : gitlabforjenkins - 만료일 : - Select a role : - Select scopes : jenkins 구성 docker-compose.yml 편집 cat Jenkins 관리 > System Configuration > 플러그인 관리 - GitLab Plugin - Generic Webhook Trigger Plugin Jenkins에서 gitlab에서 받은 Token 넣기 Dashboard > Jenkins 관리 > System Configurati.. 더보기 [Linux] How to build and push Docker images with GitHub Actions How to build and push Docker images with GitHub Actions Create a new repository for GitHub new repository > Actions > set up a workflow yourself Editing main.yml editing name: CI on: push: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - name: Check Out Repo uses: actions/checkout@v2 - name: Login to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_HUB_US.. 더보기 이전 1 다음