Merge branch 'master' into release_v0.17.0

This commit is contained in:
Matthew R Kasun 2022-12-06 10:31:24 -05:00 committed by GitHub
commit 273116d55d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -73,6 +73,7 @@ jobs:
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
@ -89,3 +90,4 @@ jobs:
build-args: |
version=${{ env.TAG }}
tags=ee

View file

@ -80,7 +80,7 @@ jobs:
go-version: 1.19
- name: run tests
run: |
apt update
sudo apt update
sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev
go test -p 1 ./... -v
go install honnef.co/go/tools/cmd/staticcheck@latest

View file

@ -6,7 +6,7 @@ COPY . .
ENV GO111MODULE=auto
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 /usr/local/go/bin/go build -ldflags="-w -s" -o netclient-app netclient/main.go
RUN GOOS=linux CGO_ENABLED=0 /usr/local/go/bin/go build -ldflags="-w -s" -o netclient-app netclient/main.go
WORKDIR /root/