浏览代码

[2] Revert go build tag being pro, back to ee

gabrielseibel1 2 年之前
父节点
当前提交
9651b40a19
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      .github/workflows/test.yml
  2. 1 1
      Dockerfile

+ 2 - 2
.github/workflows/test.yml

@@ -19,7 +19,7 @@ jobs:
       - name: Build
         run: |
          env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build main.go
-         env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -tags=pro main.go
+         env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -tags=ee main.go
 
   nmctl:
     runs-on: ubuntu-latest
@@ -71,4 +71,4 @@ jobs:
         run: |
           sudo apt update
           go install honnef.co/go/tools/cmd/staticcheck@latest
-          { ~/go/bin/staticcheck  -tags=pro ./... ; }
+          { ~/go/bin/staticcheck  -tags=ee ./... ; }

+ 1 - 1
Dockerfile

@@ -5,7 +5,7 @@ WORKDIR /app
 COPY . .
 
 RUN GOOS=linux CGO_ENABLED=1 go build -ldflags="-s -w " -tags ${tags} .
-# RUN go build -tags=pro . -o netmaker main.go
+# RUN go build -tags=ee . -o netmaker main.go
 FROM alpine:3.18.3
 
 # add a c lib