Docker Desktop action
Find a file
Guillaume Tardif 70b6492577
Merge pull request #32 from docker/fix_macos_install
Fix macos Desktop install
2025-01-14 10:47:29 +01:00
.github/workflows fix: ci 2024-11-28 12:47:12 +01:00
start Fix macos Desktop install 2025-01-14 09:55:41 +01:00
LICENSE Initial commit 2023-06-09 11:32:19 +02:00
README.md Simplify doc on using the action on linux runners 2024-06-07 10:39:54 +02:00

desktop-action

Github Action to start Docker Desktop.

This github action is experimental. It currently supports starting Docker Desktop on "linux" nodes (ubuntu-latest) in Github Actions.

Important: since mid September 2023, the action inconsistently fails on macOs runner. We have updated the action to use linux runners.

Note that the usage of Docker Desktop is subject to Docker Desktop license agreement.

After this step executes, Docker Desktop is ready and available, the docker CLI can be executed in subsequent "run" steps

By default, the action downloads the last version of Docker Desktop. But you can specify another one by providing the build URL from where the action can download the specific version:

jobs:
  test-docker-desktop:
    name: Test Docker Desktop installation and start
    runs-on: ubuntu-latest
    strategy:
      matrix:
        build-url: [ "latest", "https://desktop.docker.com/linux/main/amd64/122432/docker-desktop-4.24.0-amd64.deb" ]

    steps:
      - name: Start Desktop
        uses: ./start
        with:
          docker-desktop-build-url: ${{ matrix.build-url }}