🎯 GitHub Actions/Packages의 GHES 설정 및 사용


1. GHES Actions/Packages 를 구성하기 위해 필요한 것? 🤔

image

GitHub Enterprise Server with version 3.0 or higher

Self-hosted Runner

  • 실제 Job을 수행할 환경 (Linux/Window/Mac)
  • GitHub-hosted runner는 현재 GitHub Enterprise Cloud에서만 가능 (GitHub Enterprise Server는 향후지원예정)

S3 compatible blob storage


2. GHES Actions/Packages 설정 🛠️

Instance에서 Actions/Packages 활성화 및 S3 blob storage 설정

image

  • Force path style 선택 image

GitHub Enterprise 레벨에서의 조직별 활성화/비활성화 설정 및 사용할 Actions 허용정책 설정

  • Enterprise 설정 > Policies > Actions 메뉴

  • ‘Enable for all organizations’ 또는 허용할 조직 👫 선택


  • 허용할 Actions 타입 선택

    • Allow all actions : 모든 Actions 허용
    • Allow local actions only : Enterprise 내부의 저장소에 정의된 Actions들만 허용
    • Allow select actions : 선택된 Actions들만 허용


  • Private folk로 부터의 Pull Requests에 의한 Workflow 실행 허용

Org 레벨에서의 Actions 허용 정책 설정

  • Org 설정 > Actions 메뉴
  • Enterprise 레벨의 Actions 관련 정책 설정과 동일 : 허용할 Actions 설정 및 Private folk로 부터의 PR에 의한 워크플로우 실행

Repo 레벨에서의 Actions 허용 정책 설정

  • Repo 설정 > Actions 메뉴
  • Enterprise 및 Org 레벨의 Actions 관련 정책 설정과 동일한 설정 : 허용할 Actions 설정 및 Private folk로 부터의 PR에 의한 워크플로우 실행


3. GHES Actions 을 위한 구성요소 설명 🤖

Actions Runner 설명 🏃

Minio Gateway for NAS Storage 🧺

  • Minio NAS Gateway는 Docker를 이용해 쉽게 구성이 가능합니다.

  • 버킷 생성 후 GitHub Enterprise Server와 연동

  • GitHub Enterprise Server가 HTTP Proxy Server와 연동되어 있다면, localhost127.0.0.1HTTP Proxy Exclusion list에 추가

    image



Table of contents


GitHub Enterprise의 다양한 기능설명을 위한 웹페이지입니다.

Last Modified Date: $LAST_MODIFIED_DATE$