diff --git a/cedar.yaml b/cedar.yaml new file mode 100644 index 00000000000..6440055e89a --- /dev/null +++ b/cedar.yaml @@ -0,0 +1,37 @@ +package: + name: cedar + version: 2.3.0 + epoch: 0 + description: "Core implementation of the Cedar language" + copyright: + - license: Apache-2.0 + +environment: + contents: + packages: + - rust + - wolfi-base + - busybox + - ca-certificates-bundle + - build-base + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/cedar-policy/cedar + expected-commit: cbbc35609de083671ed38689039c9e783c314bce + tag: v${{package.version}} + + - name: Configure and build + runs: | + cargo build --release -vv + mkdir -p ${{targets.destdir}}/usr/bin/ + mv target/release/cedar ${{targets.destdir}}/usr/bin/ + + - uses: strip + +update: + enabled: true + github: + identifier: cedar-policy/cedar + strip-prefix: v