fix: move install docker job
This commit is contained in:
parent
841e7b5f46
commit
f808cf165f
1 changed files with 8 additions and 12 deletions
18
.github/workflows/test_common.yml
vendored
18
.github/workflows/test_common.yml
vendored
|
|
@ -18,8 +18,13 @@ jobs:
|
||||||
name: docs changes
|
name: docs changes
|
||||||
uses: ./.github/workflows/get_docs_changes.yml
|
uses: ./.github/workflows/get_docs_changes.yml
|
||||||
|
|
||||||
install_docker:
|
setup_docker:
|
||||||
runs-on: "ubuntu-latest"
|
name: Set up Docker Buildx
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: ["ubuntu-latest", "macos-latest"]
|
||||||
steps:
|
steps:
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -30,15 +35,6 @@ jobs:
|
||||||
while ! /Applications/Docker.app/Contents/Resources/bin/docker info &>/dev/null; do sleep 1; done
|
while ! /Applications/Docker.app/Contents/Resources/bin/docker info &>/dev/null; do sleep 1; done
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
|
|
||||||
setup_docker:
|
|
||||||
name: Set up Docker Buildx
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
needs: install_docker
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: ["ubuntu-latest", "macos-latest"]
|
|
||||||
steps:
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue