forked from kube-burner/kube-burner
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 837 Bytes
/
builders.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build Binary and Images
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Build code
run: make build
- name: Build container images
run: make images
env:
VERSION: snapshot
- name: Install mkdocs dependencies
run: pip install mkdocs-material mkdocs-include-markdown-plugin mike
- name: Build documentation
run: mkdocs build
- name: Install
run: sudo make install
- uses: actions/upload-artifact@v4
with:
name: kube-burner
path: /usr/bin/kube-burner