diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 116c7a85b9b596db1fd3bf4f611923983ee4380e..6ada69c94a253a259359a2d58e49b8af894b4afa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,17 +35,14 @@ jobs: build-icetray: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] - runs-on: ubuntu-latest - container: - image: icecube/icetray:icetray-prod-v1.8.1-ubuntu20.04-X64 - options: --user root + runs-on: "self-hosted" steps: + - name: Build Singularity Image from IceTray Docker + run: | + singularity cache clean --force + singularity exec -f --writable-tmpfs docker://icecube/icetray:icetray-prod-v1.8.1-ubuntu22.04-X64-2023-10-03 bash - name: install git - run: | - apt-get --yes install sudo - sudo apt update --fix-missing --yes - sudo apt upgrade --yes - sudo apt-get install --yes git-all + run: singularity exec -f --writable-tmpfs docker://icecube/icetray:icetray-prod-v1.8.1-ubuntu22.04-X64-2023-10-03 apt-get install --yes git-all - name: Set environment variables run: | echo "PATH=/usr/local/icetray/bin:$PATH" >> $GITHUB_ENV