Skip to content

Commit bebea8a

Browse files
committed
feat: allow to request static opa binary
OPA releases statically built binaries. In the case of ARM64, it is the only option. The setup-opa/v2 action currently supports the option. Signed-off-by: Carlos Rodriguez-Fernandez <[email protected]>
1 parent 1a64a86 commit bebea8a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ inputs:
3838
description: "Version of OPA CLI to use. Default is 0.67.1."
3939
required: false
4040
default: "0.67.1"
41+
opa_static:
42+
description: "Whether to use the static binary. Default is false."
43+
required: false
44+
default: false
4145
indicate_source_message:
4246
description: Flag to comment the origins watermark (this repository) of the GitHub Action in the PR comment. Default of true.
4347
required: false
@@ -57,6 +61,7 @@ runs:
5761
uses: open-policy-agent/setup-opa@v2
5862
with:
5963
version: ${{ inputs.opa_version }}
64+
static: ${{ inputs.opa_static }}
6065

6166
- name: Run OPA Tests and Coverage
6267
id: opa-test-coverage

0 commit comments

Comments
 (0)