Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayuasu committed Oct 22, 2024
1 parent e219a29 commit 9c00ed1
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,13 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Setup docker (missing on macOS) - install QEMU 9.0.2
if: runner.os == 'macos'
run: |
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/f1a9cf104a9a51779c7a532b658c490f69974839/Formula/q/qemu.rb
brew install qemu.rb 2>&1
continue-on-error: true
- name: Setup docker (missing on macOS) - install Colima and Docker
uses: douglascamata/setup-docker-macos-action@v1-alpha.14
if: runner.os == 'macos'
- name: Setup docker (missing on macOS) - install buildx
if: runner.os == 'macos'
run: |
brew install colima
brew install docker
colima start --arch x86_64
colima start
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/buildx/releases/download/v0.14.1/buildx-v0.14.1.darwin-amd64 -o $DOCKER_CONFIG/cli-plugins/docker-buildx
Expand Down

0 comments on commit 9c00ed1

Please sign in to comment.