Skip to content

Commit c135f16

Browse files
committed
fix: use simpler Colima setup for Docker on macOS
1 parent 3f0d5f1 commit c135f16

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,11 @@ jobs:
7575
env:
7676
GITHUB_TOKEN: ${{ secrets.CLI_RELEASE }}
7777
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
78-
- name: Install Docker
78+
- name: Setup docker (missing on MacOS)
79+
if: runner.os == 'macos'
7980
run: |
80-
# Install Docker on macOS runner
81-
brew install --cask docker
82-
# Start Docker Desktop
83-
open -a Docker
84-
# Wait for Docker to be ready
85-
echo "Waiting for Docker to start..."
86-
timeout 60 bash -c 'until docker info > /dev/null 2>&1; do sleep 2; done'
87-
docker --version
88-
echo "Docker is now available for createrepo_c operations"
81+
brew install docker
82+
colima start
8983
- name: Publish packages to APT repo
9084
env:
9185
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)