Skip to content

Commit

Permalink
#26918 Sign the QEMU binary to fix colima starting issue. +9.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolina committed Dec 26, 2023
1 parent 587e429 commit aac7da2
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/cli-release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,25 +94,14 @@ jobs:
steps:
- name: 'Sign the QEMU binary locally'
run: |
brew install qemu
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 /opt/homebrew/bin/qemu-system-aarch64
brew remove --ignore-dependencies qemu
curl -o ./qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/dc0669eca9479e9eeb495397ba3a7480aaa45c2e/Formula/qemu.rb
brew install ./qemu.rb
- name: 'Install docker'
run: |
brew install colima
brew install docker
/opt/homebrew/opt/colima/bin/colima start -f
brew install colima docker docker-compose
# /opt/homebrew/opt/colima/bin/colima start -f
# sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock

- name: 'Log docker context'
Expand Down

0 comments on commit aac7da2

Please sign in to comment.