diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c6bcee..f8f9c27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,9 @@ on: branches: [main] types: [opened, synchronize, reopened] +env: + GITHUB_ACTIONS: true + jobs: gv-via-actions: runs-on: ubuntu-latest @@ -74,7 +77,7 @@ jobs: fetch-depth: 0 - run: | - docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo" + docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion:6.0.0-rc.1 /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo" docker logs gvtest gv-via-container-workaround2: @@ -94,5 +97,5 @@ jobs: #https://github.com/actions/checkout/issues/426#issuecomment-1881367421 - run: | - docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo" + docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion:6.0.0-rc.1 /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo" docker logs gvtest