mirror of https://github.com/portainer/portainer
fix(build-system) - fix Windows build on Azure devops (#2921)
* fix(build-system) - add sac2016 tag This is to fix the Windows image build, where MS stopped supporting the `latest` tag * fix(build-system) - use ARG for win multi-arch * fix(build-system) - use ARG for win multi-arch * fix(build-system) - delete unused Dockerfile * fix(build-system) - use ARG for win multi-arch * fix(build-system) - update GOPATH * fix(build-system) - update GOPATH and add debug * Debug * Debug * fix(build-system) - add static tag * fix(build-system) - add static tag * fix(build-system) - revert GOPATH * Debug * Debugging * Debugging * Debugging * Debugging * fix(build-system) - fix binary location * fix(build-system) - enable verbose output * fix(build-system) - Remove relativeTo Options * fix(build-system) - update options * fix(build-system) - Remove Debugpull/2926/head
parent
b4c16a1fb4
commit
af08a1b0f6
|
@ -20,4 +20,4 @@ Set-Location -Path "api\cmd\portainer"
|
|||
go get -t -d -v ./...
|
||||
go build -v
|
||||
|
||||
Move-Item -Path "$($binary)" -Destination "dist"
|
||||
Copy-Item -Path "portainer.exe" -Destination "$($env:BUILD_SOURCESDIRECTORY)\dist\portainer.exe" -Force -ErrorAction:SilentlyContinue
|
||||
|
|
Loading…
Reference in New Issue