diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 1676d46..0625de0 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -14,17 +14,15 @@ jobs: GOPATH: / SSH_AUTH_SOCK: /tmp/ssh.sock ENVIRONMENT: dev - WORKSPACE: "${{ vars.GITEA_WORKSPACE }}" - BUILDER_VOLUME_HOME: "${{ vars.BUILDER_VOLUME_HOME }}" volumes: - "/etc/timezone:/etc/timezone:ro" - "/etc/localtime:/etc/localtime:ro" - "/etc/gitconfig:/etc/gitconfig:ro" - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - "/${{ vars.GITEA_WORKSPACE }}:/go/src" - - "/${{ env.BUILDER_VOLUME_HOME }}/.ssh/known_hosts:/root/.ssh/known_hosts" - - "/${{ env.BUILDER_VOLUME_HOME }}/.gitconfig:/root/.gitconfig:ro" - - "/${{ env.BUILDER_VOLUME_HOME }}/.git-credentials:/root/.git-credentials:ro" + - "/${{ 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" - "/etc/ssl/certs:/etc/ssl/certs:ro" options: --cpus 1 steps: