Skip to content

Commit

Permalink
feat(ci): Test against the nightly master moby (#2861)
Browse files Browse the repository at this point in the history
Rootless is not supported yet.

Signed-off-by: Paweł Gronowski <[email protected]>
  • Loading branch information
vvoland authored Oct 31, 2024
1 parent bed5632 commit 72a3f1f
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/docker-moby-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 72a3f1f

Please sign in to comment.