1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

fix(build-system) - add sac2016 tag for Windows image (#2909)

This commit is contained in:
Steven Kang 2019-05-29 16:57:30 +12:00 committed by Anthony Lapenna
parent 5388585ef1
commit d75f2f5d7d
3 changed files with 4 additions and 17 deletions

View file

@ -6,7 +6,7 @@ param (
$ErrorActionPreference = "Stop";
$binary = "portainer.exe"
$go_path = "$($(Get-ITEM -Path env:AGENT_HOMEDIRECTORY).Value)\go"
$go_path = "$($(Get-ITEM -Path env:AGENT_TEMPDIRECTORY).Value)\go"
Set-Item env:GOPATH "$go_path"
@ -17,7 +17,7 @@ Copy-Item -Path "api" -Destination "$go_path\src\github.com\portainer\portainer\
Set-Location -Path "api\cmd\portainer"
go.exe get -t -d -v ./...
go.exe build -v
go get -t -d -v ./...
go build -v
Move-Item -Path "$($binary)" -Destination "dist"