mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
feat(build-system): introduce Azure DevOps support (#2666)
This commit is contained in:
parent
fca4f619b5
commit
576f369152
8 changed files with 127 additions and 120 deletions
9
build/build_binary.sh
Executable file
9
build/build_binary.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
binary="portainer"
|
||||
mkdir -p dist
|
||||
|
||||
cd 'api/cmd/portainer'
|
||||
|
||||
go get -t -d -v ./...
|
||||
GOOS=$1 GOARCH=$2 CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s'
|
||||
|
||||
mv "${binary}" "../../../dist/portainer"
|
Loading…
Add table
Add a link
Reference in a new issue