Browse Source

Droning building Sun Jan 21 19:30:24 -02 2018

luis 7 years ago
parent
commit
7137eb0cdb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      .drone.yml

+ 1 - 2
.drone.yml

@@ -30,7 +30,7 @@ pipeline:
     commands:
       - ls -la
       - ls -la go/bin
-      - CGO=0 go build flowserver/cmd/flowserver
+      - CGO_ENABLED=0 go build flowserver/cmd/flowserver -o DIST/flowserver
  
   frontend-build:
     image: node:6
@@ -41,7 +41,6 @@ pipeline:
     image: docker
     commands:
       - mkdir -p DIST
-      - cp ./go/bin/flowserver DIST
       - cp -r browser/vue-flow/dist DIST/web
       - ls DIST
       - docker build --rm -t hexasoftware.com:5000/flow-proto -f ./docker/Dockerfile .