Merge pull request #351 from drone-plugins/win_fix
Fix windows docker builds
This commit is contained in:
commit
0ffe085ddc
@ -21,7 +21,7 @@ echo $env:REGISTRY
|
|||||||
|
|
||||||
# build the binary
|
# build the binary
|
||||||
Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe";
|
Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe";
|
||||||
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe
|
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe ./cmd/drone-${env:REGISTRY}
|
||||||
|
|
||||||
# build and publish the docker image
|
# build and publish the docker image
|
||||||
docker login -u ${env:USERNAME} -p ${env:PASSWORD}
|
docker login -u ${env:USERNAME} -p ${env:PASSWORD}
|
||||||
|
@ -31,7 +31,7 @@ echo $env:VERSION
|
|||||||
|
|
||||||
# build the binary
|
# build the binary
|
||||||
Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe"
|
Write-Host "+ go build -o release/windows/amd64/drone-${env:REGISTRY}.exe"
|
||||||
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe
|
go build -o release/windows/amd64/drone-${env:REGISTRY}.exe ./cmd/drone-${env:REGISTRY}
|
||||||
|
|
||||||
# authenticate with the docker registry
|
# authenticate with the docker registry
|
||||||
docker login -u ${env:USERNAME} -p ${env:PASSWORD}
|
docker login -u ${env:USERNAME} -p ${env:PASSWORD}
|
||||||
|
Loading…
Reference in New Issue
Block a user