Skip to content

Commit 732836c

Browse files
committed
Update GitHub Actions workflow for macOS Docker setup and enhance logging in DockerRepository
- Changed the Docker installation command to use `--cask` for macOS compatibility. - Updated the DockerRepository class to log the image build result in a more readable JSON format, improving debugging capabilities.
1 parent 8a02c69 commit 732836c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/gbf_vector.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
- name: Setup docker and docker-compose (missing on MacOS)
3030
if: runner.os == 'macos'
3131
run: |
32-
brew install docker
32+
brew install --cask docker
3333
brew install colima
34-
colima start
34+
brew services start colima
3535
3636
- name: Set up DOCKER_HOST as output
3737
id: docker-env

src/data/repository/docker_repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class DockerRepository {
6969
});
7070
});
7171

72-
logDebugInfo('🐳 🟡 Image build result: ' + result);
72+
logDebugInfo('🐳 🟡 Image build result: ' + JSON.stringify(result, null, 2));
7373
logDebugInfo('🐳 🟡 Creating container...');
7474
// Create and start the container
7575
const container = await this.docker.createContainer({

0 commit comments

Comments
 (0)