Skip to content

Commit

Permalink
ci: install QEMU before colima and configure colima accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
adamblake committed Dec 17, 2024
1 parent 130e583 commit f01c788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# 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
colima start --vm-type=qemu
echo "DOCKER_HOST=$(colima docker-env | grep DOCKER_HOST | cut -d= -f2)" >> $GITHUB_ENV
# Start Docker Registry Manually
Expand All @@ -104,10 +108,6 @@ jobs:
shell: bash
run: pixi update

# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit f01c788

Please sign in to comment.