Skip to content

Commit

Permalink
Revert to docker successfully installing
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Oct 19, 2024
1 parent 618aea1 commit 095ddf0
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,18 @@ jobs:
uname -a
uname -m
# Install Homebrew
- name: Install Homebrew
- name: Setup docker, docker-compose, and colima (missing on MacOS)
if: runner.os == 'macos'
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Docker and Docker Compose
- name: Install Docker and Docker Compose
run: |
brew install --cask docker
brew install docker-compose
# Start Docker
- name: Start Docker Service
run: |
open /Applications/Docker.app
while ! docker system info > /dev/null 2>&1; do sleep 1; done
# Run Docker commands
- name: Run a Docker container
brew install docker docker-compose colima
# Link the Docker Compose v2 plugin so it's understood by the docker CLI
mkdir -p ~/.docker/cli-plugins
ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
colima start
- name: try doing docker build
shell: bash -l {0}
run: |
docker run hello-world
docker build -t emission-server .

0 comments on commit 095ddf0

Please sign in to comment.