File tree Expand file tree Collapse file tree 4 files changed +10
-27
lines changed
Expand file tree Collapse file tree 4 files changed +10
-27
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ permissions:
1313
1414jobs :
1515 in-docker_test :
16- runs-on : ubuntu-20 .04
16+ runs-on : ubuntu-22 .04
1717 steps :
1818 - uses : actions/checkout@v3
1919 - name : Build with Gradle
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ permissions:
1919
2020jobs :
2121 find_gradle_jobs :
22- runs-on : ubuntu-20 .04
22+ runs-on : ubuntu-22 .04
2323 outputs :
2424 matrix : ${{ steps.set-matrix.outputs.matrix }}
2525 steps :
4545 strategy :
4646 fail-fast : false
4747 matrix : ${{ fromJson(needs.find_gradle_jobs.outputs.matrix) }}
48- runs-on : ubuntu-20 .04
48+ runs-on : ubuntu-22 .04
4949 steps :
5050 - uses : actions/checkout@v3
5151 - uses : actions/setup-java@v3
Original file line number Diff line number Diff line change @@ -13,30 +13,13 @@ permissions:
1313
1414jobs :
1515 test :
16- runs-on : ubuntu-20.04
17- strategy :
18- fail-fast : false
19- matrix :
20- include :
21- - { XDG_RUNTIME_DIR: "" }
22- - { XDG_RUNTIME_DIR: "/tmp/docker-testcontainers/" }
23- env :
24- XDG_RUNTIME_DIR : ${{ matrix.XDG_RUNTIME_DIR }}
16+ runs-on : ubuntu-22.04
2517 steps :
2618 - uses : actions/checkout@v3
27- - name : debug
28- run : id -u; whoami
29- - name : uninstall rootful Docker
30- run : sudo apt-get -q -y --purge remove moby-engine moby-buildx && sudo rm -rf /var/run/docker.sock
31- - name : install rootless Docker
32- run : |
33- mkdir -p $XDG_RUNTIME_DIR || true
34- curl -fsSL https://get.docker.com/rootless | sh > init.sh
35- cat init.sh
36- source <(grep '^export' init.sh)
37- PATH=$HOME/bin:$PATH dockerd-rootless.sh --experimental --storage-driver vfs &
38- sleep 1
39- DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock docker info || ls -la $XDG_RUNTIME_DIR
19+ - name : Setup rootless Docker
20+ 21+ - name : Remove Docket root socket
22+ run : sudo rm -rf /var/run/docker.sock
4023 - name : Setup Gradle Build Action
4124 uses : gradle/gradle-build-action@v2
4225 - name : Build with Gradle
Original file line number Diff line number Diff line change 1919
2020jobs :
2121 find_gradle_jobs :
22- runs-on : ubuntu-20 .04
22+ runs-on : ubuntu-22 .04
2323 outputs :
2424 matrix : ${{ steps.set-matrix.outputs.matrix }}
2525 steps :
4444 strategy :
4545 fail-fast : false
4646 matrix : ${{ fromJson(needs.find_gradle_jobs.outputs.matrix) }}
47- runs-on : ubuntu-20 .04
47+ runs-on : ubuntu-22 .04
4848 steps :
4949 - uses : actions/checkout@v3
5050 - uses : actions/setup-java@v3
You can’t perform that action at this time.
0 commit comments