Skip to content

Commit 80d227e

Browse files
committed
Fix windows docker builds
1 parent 64b6aa1 commit 80d227e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/windows/latest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ echo $env:REGISTRY
2121

2222
# build the binary
2323
Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe";
24-
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe
24+
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe ./cmd/drone-${env:REGISTRY}
2525

2626
# build and publish the docker image
2727
docker login -u ${env:USERNAME} -p ${env:PASSWORD}

scripts/windows/tag.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ echo $env:VERSION
3131

3232
# build the binary
3333
Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe"
34-
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe
34+
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe ./cmd/drone-${env:REGISTRY}
3535

3636
# authenticate with the docker registry
3737
docker login -u ${env:USERNAME} -p ${env:PASSWORD}

0 commit comments

Comments
 (0)