File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 - name : Setup docker (missing on MacOS)
3232 if : runner.os == 'macos'
3333 run : |
34- brew install docker
34+ brew install docker docker-buildx
3535 brew install colima
3636 colima start
37+ while ! docker info >/dev/null 2>&1; do sleep 1; done
38+ mkdir -p ~/.docker/cli-plugins
39+ ln -sfn $(which docker-buildx) ~/.docker/cli-plugins/docker-buildx
3740
3841 - name : Login to GitHub Container Registry
3942 uses : docker/login-action@v2
4346 password : ${{ secrets.REGISTRY_TOKEN }}
4447 -
4548 name : Build Dev Container Image
46- env :
47- DOCKER_BUILDKIT : ${{ runner.os == 'macOS' && '0' || '' }}
4849 uses : devcontainers/ci@v0.2
4950 with :
5051 subFolder : .github
5354 push : never
5455
5556 - name : Test Container Image
56- env :
57- DOCKER_BUILDKIT : ${{ runner.os == 'macOS' && '0' || '' }}
5857 run : |
5958 docker run --rm ghcr.io/${{ github.repository }} /bin/bash -c "git clone -b devContainers https://github.com/drifter089/pypsa-earth.git && cd pypsa-earth && bash .github/.devcontainer/test.sh"
6059
You can’t perform that action at this time.
0 commit comments