From 72a3f1f8ec182f2b50ed3f53f42a04c26fe006f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 31 Oct 2024 13:05:17 +0000 Subject: [PATCH] feat(ci): Test against the nightly master moby (#2861) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rootless is not supported yet. Signed-off-by: Paweł Gronowski --- .github/workflows/docker-moby-latest.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-moby-latest.yml b/.github/workflows/docker-moby-latest.yml index 39cb96df3d..6c11df2af2 100644 --- a/.github/workflows/docker-moby-latest.yml +++ b/.github/workflows/docker-moby-latest.yml @@ -10,6 +10,12 @@ jobs: strategy: matrix: rootless-docker: [true, false] + containerd-integration: [true, false] + # ghaction-setup-docker doesn't work with rootless yet + exclude: + - rootless-docker: true + container-integration: true + name: "Core tests using latest moby/moby" runs-on: 'ubuntu-latest' continue-on-error: true @@ -42,7 +48,22 @@ jobs: - name: modTidy run: go mod tidy - - name: Install Latest Docker + - name: Install Nightly Docker + # rootless not supported with ghaction-setup-docker yet + if: ${{ matrix.rootless-docker == false }} + uses: crazy-max/ghaction-setup-docker@master + with: + daemon-config: | + { + "debug": true, + "features": { + "containerd-snapshotter": ${{ matrix.containerd-integration }} + } + } + version: type=image,tag=master + + - name: Install test Docker + if: ${{ matrix.rootless-docker }} run: curl https://get.docker.com | CHANNEL=test sh - name: go test