Skip to content

Commit

Permalink
Merge pull request #11 from danni-cool/dev
Browse files Browse the repository at this point in the history
feat: update Docker workflow to start Docker service and switch to Wi…
  • Loading branch information
danni-cool authored Dec 21, 2024
2 parents d0272e9 + c652d41 commit 97387ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up Docker for Windows Containers
run: |
docker context use default
& 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon
- name: Start Docker Service
run: Start-Service Docker
shell: pwsh

- name: Verify Docker is using Windows containers
run: docker info | Select-String "OSType"
- name: Switch to Windows containers
run: |
& "C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon
docker info
shell: pwsh

- name: Login to Docker Hub
Expand Down

0 comments on commit 97387ce

Please sign in to comment.