Skip to content

Commit

Permalink
Remove building in MacOS on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jan 5, 2024
1 parent 8058dec commit c3ef1bd
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/ci.yml
Expand Up @@ -31,28 +31,15 @@ jobs:
- arm64v8
- ppc64le
- s390x
runs-on: ${{ (contains('arm32v6 arm32v7 s390x', matrix.arch)
&& 'macos')
|| 'ubuntu' }}-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # for correct image labeling via `git describe --tags`
- name: Setup Docker for MacOS
run: |
set -ex
brew install colima docker docker-buildx
mkdir -p /Users/runner/.docker/cli-plugins/
ln -sfn /usr/local/opt/docker-buildx/bin/docker-buildx \
/Users/runner/.docker/cli-plugins/docker-buildx
colima start
if: ${{ contains('arm32v6 arm32v7 s390x', matrix.arch) }}
- uses: docker/setup-buildx-action@v3
- uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:qemu-v8.1.4
if: ${{ contains('arm32v6 arm32v7 s390x', matrix.arch) }}
- uses: docker/setup-buildx-action@v3
if: ${{ !contains('arm32v6 arm32v7 s390x', matrix.arch) }}

- run: make docker.image no-cache=yes
platform=${{ matrix.os }}/${{ matrix.arch }}
Expand Down

0 comments on commit c3ef1bd

Please sign in to comment.