lock Docker version to 4.10.0 on macOS runners (#7082)
The macOS runners installing Docker are having problems initializing the new Docker version (4.11.0) which effectively blocks PRs with Go code. This locks the Docker version we install to 4.10.0, which works until we figure out a solution or a new Docker version goes out.
This commit is contained in:
@@ -198,7 +198,8 @@ jobs:
|
||||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
- name: Install Docker
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
||||
@@ -38,7 +38,8 @@ jobs:
|
||||
if: contains(matrix.os, 'macos')
|
||||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
||||
@@ -24,7 +24,8 @@ jobs:
|
||||
if: contains(matrix.os, 'macos')
|
||||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
||||
@@ -34,7 +34,8 @@ jobs:
|
||||
if: matrix.os == 'macos-latest'
|
||||
# From https://github.com/docker/for-mac/issues/2359#issuecomment-943131345
|
||||
run: |
|
||||
brew install --cask docker
|
||||
# fixme: lock Docker version to 4.10.0 as newer versions fail to initialize
|
||||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-cask/c65030146a5cf2070c2499b6c68e2c3495c99731/Casks/docker.rb > docker.rb && brew install docker.rb
|
||||
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
|
||||
open -a /Applications/Docker.app --args --unattended --accept-license
|
||||
echo "Waiting for Docker to start up..."
|
||||
|
||||
Reference in New Issue
Block a user