From 0a63a144eab9dde3167a578978ff238be7564e93 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Tue, 28 Jun 2022 12:00:00 +0800 Subject: [PATCH] self-host --- .github/workflows/integration.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index fb0c4e1..89b58db 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -6,7 +6,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: self-host timeout-minutes: 45 concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }} @@ -20,6 +20,9 @@ jobs: container: image: ghcr.io/coiby/${{ matrix.container }} options: "--privileged -v /dev:/dev -v /lib/modules:/lib/modules:ro" + credentials: + username: ${{ github.actor }} + password: ${{ secrets.ghcr_token }} steps: - name: "Checkout Repository" uses: actions/checkout@v2