diff --git a/start/action.yml b/start/action.yml index 501924c..a112c77 100644 --- a/start/action.yml +++ b/start/action.yml @@ -79,23 +79,31 @@ runs: echo "ls ./cache/desktopInstallSettings/" ls ./cache/desktopInstallSettings/ || true - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 +# - name: Setup tmate session +# uses: mxschmitt/action-tmate@v3 -# - name: Start Docker Desktop app -# shell: bash -# run: | -# /usr/bin/open /Applications/Docker.app --args --unattended --add-host-docker-internal-registry --telemetry -# echo "Docker starting..." + - name: Start Docker Desktop app + shell: bash + run: | + /usr/bin/open /Applications/Docker.app --args --unattended --add-host-docker-internal-registry --telemetry + echo "Docker starting..." # -# - name: Wait for Docker to be up and running -# shell: bash -# run: | + - name: Wait for Docker to be up and running + shell: bash + run: | + docker ps || true + sleep 10 + docker ps || true + sleep 10 + docker ps || true + sleep 10 + docker ps || true + sleep 10 + # until docker ps; do echo "docker not ready, sleep 10 s and try again"; sleep 10; done # echo "Docker started and ready" # docker version -# - name: Gather Diagnostics -# if: ${{ failure() }} -# shell: bash -# run: /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload + - name: Gather Diagnostics + shell: bash + run: /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload