diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index cbb8ef8..d757e80 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -15,9 +15,9 @@ jobs: - "/etc/gitconfig:/etc/gitconfig:ro" - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - "/${{ vars.GITEA_WORKSPACE }}:/go/src" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.ssh/known_hosts:/root/.ssh/known_hosts" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.gitconfig:/root/.gitconfig:ro" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.git-credentials:/root/.git-credentials:ro" + - "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts" + - "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro" + - "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro" - "/etc/ssl/certs:/etc/ssl/certs:ro" options: --cpus 20 steps: diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 0625de0..ec43793 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -19,10 +19,9 @@ jobs: - "/etc/localtime:/etc/localtime:ro" - "/etc/gitconfig:/etc/gitconfig:ro" - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - - "/${{ vars.GITEA_WORKSPACE }}:/go/src" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.ssh/known_hosts:/root/.ssh/known_hosts" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.gitconfig:/root/.gitconfig:ro" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.git-credentials:/root/.git-credentials:ro" + - "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts" + - "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro" + - "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro" - "/etc/ssl/certs:/etc/ssl/certs:ro" options: --cpus 1 steps: