시스템
github runner group
iesay
2024. 2. 2. 14:46
https://www.youtube.com/watch?v=2lLsW9E3WcI
$export RUNNER_ALLOW_RUNASROOT="1"
default 러너를 self-hosted 그룹러너로 교체
# Create a folder $ mkdir actions-runner && cd actions-runner # Download the latest runner package $ curl -o actions-runner-linux-x64-2.312.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.312.0/actions-runner-linux-x64-2.312.0.tar.gz # Optional: Validate the hash $ echo "85c1bbd104d539f666a89edef70a18db2596df374a1b51670f2af1578ecbe031 actions-runner-linux-x64-2.312.0.tar.gz" | shasum -a 256 -c # Extract the installer $ tar xzf ./actions-runner-linux-x64-2.312.0.tar.gz Configure # Create the runner and start the configuration experience 중요 잘 확인 repo별이 아닌 조직 전체의 토큰이 나와야됨 $ ./config.sh --url https://github.com/조직 --token @@@@@@@@@@@@@@@ # Last step, run it! $ ./run.sh Using your self-hosted runner # Use this YAML in your workflow file for each job runs-on: self-hosted |
조직에 러너그룹 설정 토큰
레포에서 설정