Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macos Desktop install #32

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions start/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ runs:
buildUrl="https://desktop.docker.com/mac/main/amd64/Docker.dmg"
fi

sudo mkdir -p /Library/PrivilegedHelperTools
curl --fail -o ./temp/DockerDesktop.dmg $buildUrl
/usr/bin/hdiutil attach -noverify ./temp/DockerDesktop.dmg -mountpoint ./mount/desktop -nobrowse
echo "dmg mounted"
sudo ./mount/desktop/Docker.app/Contents/MacOS/install --accept-license
sudo ./mount/desktop/Docker.app/Contents/MacOS/install --accept-license --user ${{inputs.username}}
echo "dmg installed"

echo "ls /Library/Application Support/com.docker.docker"
Expand All @@ -58,11 +59,7 @@ runs:
shell: bash
env: ${{fromJson(inputs.env)}}
run: |
sudo mkdir -p /Library/PrivilegedHelperTools
sudo /Applications/Docker.app/Contents/MacOS/install config --user ${{inputs.username}}
sudo /Applications/Docker.app/Contents/MacOS/install vmnetd
echo "app installed"
/usr/bin/open /Applications/Docker.app --args --unattended --add-host-docker-internal-registry
/usr/bin/open /Applications/Docker.app --args --unattended --telemetry
echo "Docker starting..."

- name: Download appcast
Expand Down
Loading