fix: add install_docker step in github action workflow
This commit is contained in:
parent
6d38bcdfbf
commit
887d4e1ece
1 changed files with 9 additions and 0 deletions
9
.github/workflows/test_common.yml
vendored
9
.github/workflows/test_common.yml
vendored
|
|
@ -18,6 +18,15 @@ jobs:
|
|||
name: docs changes
|
||||
uses: ./.github/workflows/get_docs_changes.yml
|
||||
|
||||
install_docker:
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask docker
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "We are waiting for Docker to be up and running. It can take over 2 minutes..."
|
||||
while ! /Applications/Docker.app/Contents/Resources/bin/docker info &>/dev/null; do sleep 1; done
|
||||
|
||||
setup_docker:
|
||||
name: Set up Docker Buildx
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue