Skip to content

Commit

Permalink
fix: macos arm not have nested-virtualization
Browse files Browse the repository at this point in the history
  • Loading branch information
wangeguo committed Apr 30, 2024
1 parent a12cfe3 commit 361253e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ permissions:
jobs:
build:
name: Build Image
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-latest' || 'macos-latest' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: [amd64, arm64]
platform: [linux/amd64,linux/arm64]
bin: [amp-apiserver, amp-controllers, amp-syncer]
include:
- bin: amp-apiserver
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
with:
context: .
file: ${{ matrix.dockerfile }}
platforms: linux/${{ matrix.arch }}
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
provenance: false
Expand Down

0 comments on commit 361253e

Please sign in to comment.