Skip to content

Commit

Permalink
test windows binary for DLC
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay084 committed Jun 14, 2024
1 parent 80e3327 commit 576d17f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ steps:
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-linux-arm64 ./cmd/drone-docker
- GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-darwin-amd64 ./cmd/drone-docker
- GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-darwin-arm64 ./cmd/drone-docker
- GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-windows-amd64.exe ./cmd/drone-docker
- GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-windows-amd64 ./cmd/drone-docker

environment:
CGO_ENABLED: 0
Expand All @@ -1021,7 +1021,7 @@ steps:
- zstd release/drone-buildx-linux-arm64
- zstd release/drone-buildx-darwin-arm64
- zstd release/drone-buildx-darwin-amd64
- zstd release/drone-buildx-windows-amd64.exe
- zstd release/drone-buildx-windows-amd64

- name: release
image: plugins/github-release
Expand All @@ -1031,7 +1031,7 @@ steps:
- release/drone-buildx-linux-arm64.zst
- release/drone-buildx-darwin-arm64.zst
- release/drone-buildx-darwin-amd64.zst
- release/drone-buildx-windows-amd64.exe.zst
- release/drone-buildx-windows-amd64.zst
api_key:
from_secret: github_token
when:
Expand Down
3 changes: 2 additions & 1 deletion daemon_win.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
//go:build windows
// +build windows

package docker

const dockerExe = "C:\\bin\\docker.exe"
const dockerExe = "C:\\Windows\\system32\\docker.exe"
const dockerdExe = ""
const dockerHome = "C:\\ProgramData\\docker\\"

Expand Down

0 comments on commit 576d17f

Please sign in to comment.