Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build-cilium/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ inputs:
output-dir:
description: 'Path to the output of cilium build'
required: true
cilium-revision:
description: 'Cilium revision to build. main is used by default'
required: false

runs:
using: "composite"
Expand All @@ -15,5 +18,6 @@ runs:
- name: Build cilium/cilium bpf programs
env:
OUTPUT_DIR: ${{ inputs.output-dir }}
CILIUM_REVISION: ${{ inputs.cilium-revision }}
shell: bash
run: ${GITHUB_ACTION_PATH}/build-cilium.sh
2 changes: 2 additions & 0 deletions build-cilium/build-cilium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ popd

extract_bpf_progs bpf "*.o" $OUTPUT_DIR/bpf

git rev-parse HEAD > $OUTPUT_DIR/cilium-revision

popd
Loading