diff --git a/mdbook.yaml b/mdbook.yaml new file mode 100644 index 00000000000..9f93ddfee24 --- /dev/null +++ b/mdbook.yaml @@ -0,0 +1,43 @@ +package: + name: mdbook + version: 0.4.30 + epoch: 0 + description: "Create book from markdown files. Like Gitbook but implemented in Rust." + copyright: + - license: MPL-2.0 + +environment: + contents: + packages: + - rust + - libLLVM-15 + - wolfi-base + - busybox + - make + - git + - ca-certificates-bundle + - build-base + - openssl-dev + - python3 + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/rust-lang/mdbook + tag: v${{package.version}} + expected-commit: 9349204636744ef5100abcf8ebc7a2c4675284fc + + - name: Configure and build + runs: | + cargo build --release + install -d "${{targets.destdir}}"/usr/bin + install -m755 target/release/mdbook "${{targets.destdir}}"/usr/bin/ + + - uses: strip + +update: + enabled: true + github: + identifier: rust-lang/mdbook + use-tag: true + strip-prefix: v diff --git a/packages.txt b/packages.txt index da2560a2248..dc9353276b2 100644 --- a/packages.txt +++ b/packages.txt @@ -757,4 +757,5 @@ wireguard-go acme.sh libdbi lighttpd -ffmpeg +mdbook +ffmpeg \ No newline at end of file