diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index a2cd402..6022be2 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -15,13 +15,13 @@ jobs: SSH_AUTH_SOCK: /tmp/ssh.sock ENVIRONMENT: dev valid_volumes: - - /root/.ssh/known_hosts - - /tmp/ssh.sock - - /etc/gitconfig - - /root/.gitconfig - - /root/.git-credentials + - ${{ vars.BUILDER_VOLUME_HOME }}/.ssh/known_hosts + - ${{ env.SSH_AUTH_SOCK }} + - /etc/gitconfig:/etc/gitconfig + - ${{ vars.BUILDER_VOLUME_HOME }}/.gitconfig + - ${{ vars.BUILDER_VOLUME_HOME }}/.git-credentials - /etc/ssl/certs - - /go/src + - ${{ vars.GITEA_WORKSPACE }} volumes: - ${{ vars.BUILDER_VOLUME_HOME }}/.ssh/known_hosts:/root/.ssh/known_hosts - ${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock