From 4b0a7ecef86d56b48f389f81bca6fd575c597a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 27 Jun 2024 17:29:37 +0200 Subject: [PATCH] chore: run rootless mode in nighlty builds (#2611) --- .github/workflows/docker-moby-latest.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/docker-moby-latest.yml b/.github/workflows/docker-moby-latest.yml index ea3ca4a2e3..40b8ec1986 100644 --- a/.github/workflows/docker-moby-latest.yml +++ b/.github/workflows/docker-moby-latest.yml @@ -7,9 +7,20 @@ on: jobs: test_latest_moby: + strategy: + matrix: + rootless-docker: [true, false] name: "Core tests using latest moby/moby" runs-on: 'ubuntu-latest' steps: + - name: Setup rootless Docker + if: ${{ matrix.rootless-docker }} + uses: ScribeMD/rootless-docker@6bd157a512c2fafa4e0243a8aa87d964eb890886 # v0.2.2 + + - name: Remove Docker root socket + if: ${{ matrix.rootless-docker }} + run: sudo rm -rf /var/run/docker.sock + - name: Check out code into the Go module directory uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4