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.23 uses: actions/setup-go@v5 with: go-version: 1.23 - 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