Skip to content

Commit

Permalink
#26918 Sign the QEMU binary to fix colima starting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolina committed Dec 26, 2023
1 parent 2d01682 commit 5bede3f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/cli-release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,24 @@ jobs:
os: [ macos-13-xlarge, macOS-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: 'Sign the QEMU binary locally'
run: |
cat >entitlements.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.hypervisor</key>
<true/>
</dict>
</plist>
EOF
codesign --sign - --entitlements entitlements.xml --force /usr/local/bin/qemu-system-$(uname -m | sed -e s/arm64/aarch64/)
- name: 'Install docker'
run: |
brew install colima
brew install docker docker-compose
whereis colima
brew install docker
colima start
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
Expand Down

0 comments on commit 5bede3f

Please sign in to comment.