forked from pypsa-meets-earth/pypsa-earth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d50db33
commit 781f8ee
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,12 @@ jobs: | |
- name: Setup docker (missing on MacOS) | ||
if: runner.os == 'macos' | ||
run: | | ||
brew install docker | ||
brew install docker docker-buildx | ||
brew install colima | ||
colima start | ||
while ! docker info >/dev/null 2>&1; do sleep 1; done | ||
mkdir -p ~/.docker/cli-plugins | ||
ln -sfn $(which docker-buildx) ~/.docker/cli-plugins/docker-buildx | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
|
@@ -43,8 +46,6 @@ jobs: | |
password: ${{ secrets.REGISTRY_TOKEN }} | ||
- | ||
name: Build Dev Container Image | ||
env: | ||
DOCKER_BUILDKIT: ${{ runner.os == 'macOS' && '0' || '' }} | ||
uses: devcontainers/[email protected] | ||
with: | ||
subFolder: .github | ||
|
@@ -53,8 +54,6 @@ jobs: | |
push: never | ||
|
||
- name: Test Container Image | ||
env: | ||
DOCKER_BUILDKIT: ${{ runner.os == 'macOS' && '0' || '' }} | ||
run: | | ||
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" | ||
|