Skip to content

Commit

Permalink
ci: install QEMU after colima/docker, but start docker after QEMU
Browse files Browse the repository at this point in the history
  • Loading branch information
adamblake committed Dec 17, 2024
1 parent f01c788 commit ccc7239
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Docker
if: runner.os == 'macOS' && runner.arch == 'ARM64'
run: |
brew install colima docker
echo "DOCKER_HOST=$(colima docker-env | grep DOCKER_HOST | cut -d= -f2)" >> $GITHUB_ENV
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Start Docker
if: runner.os == 'macOS' && runner.arch == 'ARM64'
run: |
brew install colima docker
colima start --vm-type=qemu
echo "DOCKER_HOST=$(colima docker-env | grep DOCKER_HOST | cut -d= -f2)" >> $GITHUB_ENV
# Start Docker Registry Manually
- name: Start Local Docker Registry
Expand Down

0 comments on commit ccc7239

Please sign in to comment.