mirror of
https://github.com/docker/setup-docker-action.git
synced 2025-04-23 09:00:01 +02:00
Merge pull request #112 from crazy-max/ci-fix-macos
ci: enforce QEMU version on macOS
This commit is contained in:
commit
4acbcb8479
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
@ -37,6 +37,11 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
# https://github.com/crazy-max/ghaction-setup-docker/issues/108
|
||||
name: Set up QEMU
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
|
||||
-
|
||||
name: Set version
|
||||
shell: bash
|
||||
@ -68,6 +73,11 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
# https://github.com/crazy-max/ghaction-setup-docker/issues/108
|
||||
name: Set up QEMU
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
|
||||
-
|
||||
name: Set up Docker
|
||||
uses: ./
|
||||
@ -93,6 +103,11 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
# https://github.com/crazy-max/ghaction-setup-docker/issues/108
|
||||
name: Set up QEMU
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
|
||||
-
|
||||
name: Set up Docker
|
||||
uses: ./
|
||||
@ -123,6 +138,11 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
# https://github.com/crazy-max/ghaction-setup-docker/issues/108
|
||||
name: Set up QEMU
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
|
||||
-
|
||||
name: Set up Docker
|
||||
uses: ./
|
||||
@ -145,6 +165,10 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
# https://github.com/crazy-max/ghaction-setup-docker/issues/108
|
||||
name: Set up QEMU
|
||||
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
|
||||
-
|
||||
name: Set up Docker
|
||||
uses: ./
|
||||
@ -213,6 +237,11 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
# https://github.com/crazy-max/ghaction-setup-docker/issues/108
|
||||
name: Set up QEMU
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
|
||||
-
|
||||
name: Set up Docker
|
||||
uses: ./
|
||||
|
23
README.md
23
README.md
@ -47,6 +47,29 @@ jobs:
|
||||
uses: crazy-max/ghaction-setup-docker@v3
|
||||
```
|
||||
|
||||
> [!IMPORTANT]
|
||||
> macOS runners hang with latest QEMU 9.1.0. You need to install QEMU 9.0.2 as
|
||||
> a workaround:
|
||||
> ```yaml
|
||||
> name: ci
|
||||
>
|
||||
> on:
|
||||
> push:
|
||||
>
|
||||
> jobs:
|
||||
> docker:
|
||||
> runs-on: macos-13
|
||||
> steps:
|
||||
> -
|
||||
> # https://github.com/crazy-max/ghaction-setup-docker/issues/108
|
||||
> name: Install QEMU 9.0.2
|
||||
> uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
|
||||
> -
|
||||
> name: Set up Docker
|
||||
> uses: crazy-max/ghaction-setup-docker@v3
|
||||
> ```
|
||||
> More info: https://github.com/crazy-max/ghaction-setup-docker/issues/108.
|
||||
|
||||
### Daemon configuration
|
||||
|
||||
You can [configure the Docker daemon](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user