diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index e564dbd..1676d46 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -14,16 +14,17 @@ 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" + - "/${{ 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" - "/etc/ssl/certs:/etc/ssl/certs:ro" options: --cpus 1 steps: