Build agent docker image during CI (#725)

This commit is contained in:
Igor Gov
2022-01-31 14:54:35 +02:00
committed by GitHub
parent 9bd82191aa
commit 82db4acb7d
2 changed files with 7 additions and 27 deletions

View File

@@ -12,7 +12,7 @@ concurrency:
jobs:
build-cli:
name: Build CLI
name: Build CLI executable
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
@@ -27,35 +27,11 @@ jobs:
run: make cli
build-agent:
name: Build Agent
name: Build Agent docker image
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- shell: bash
run: |
sudo apt-get install libpcap-dev
- name: Build Agent
run: make agent
build-ui:
name: Build UI
runs-on: ubuntu-latest
steps:
- name: Set up Node 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build UI
run: make ui
run: make agent-docker