Skip to content

Commit

Permalink
Fix moby-latest.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez committed Jul 4, 2024
1 parent 1f38f0d commit 055839e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/moby-latest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Tests against recent Docker engine releases

on:
workflow_dispatch:
schedule:
# nightly build, at 23:59 CEST
- cron: '59 23 * * *'
Expand All @@ -18,19 +19,19 @@ jobs:
- uses: ./.github/actions/setup-build

- name: Install Stable Docker
if: ${{ matrix.install-docker-type == "STABLE" }}
if: ${{ matrix.install-docker-type == 'STABLE' }}
run: curl https://get.docker.com

- name: Install Docker from the TEST channel
if: ${{ matrix.install-docker-type == "ROOTFUL" }}
if: ${{ matrix.install-docker-type == 'ROOTFUL' }}
run: curl https://get.docker.com | CHANNEL=test sh

- name: Setup rootless Docker
if: ${{ matrix.install-docker-type == "ROOTLESS" }}
if: ${{ matrix.install-docker-type == 'ROOTLESS' }}
uses: ScribeMD/rootless-docker@6bd157a512c2fafa4e0243a8aa87d964eb890886 # v0.2.2

- name: Remove Docker root socket
if: ${{ matrix.install-docker-type == "ROOTLESS" }}
if: ${{ matrix.install-docker-type == 'ROOTLESS' }}
run: sudo rm -rf /var/run/docker.sock

- name: Check Docker version
Expand Down

0 comments on commit 055839e

Please sign in to comment.