diff --git a/docs/.gitlab-ci.yaml b/docs/.gitlab-ci.yaml index 3cf5f5b04cba4da0cc00fb6b29f3d2b0e50c6d83..de4a141f70e0949d5c4bd081e49dd6113ebde748 100644 --- a/docs/.gitlab-ci.yaml +++ b/docs/.gitlab-ci.yaml @@ -1,14 +1,16 @@ stages: - build -pages: +build-docs: stage: build image: docker.io/library/rust variables: CARGO_HOME: $CI_PROJECT_DIR/cargo + # renovate: datasource=github-releases depName=rust-lang/mdBook + MDBOOK_VERSION: v0.4.36 before_script: - export PATH="$PATH:$CARGO_HOME/bin" - - mdbook --version || cargo install mdbook + - mdbook --version || cargo install --version "${MDBOOK_VERSION//v}" mdbook script: - mdbook build docs -d public rules: @@ -23,7 +25,7 @@ pages: tags: - kubernetes -upload: +upload-docs: stage: release image: name: docker.io/minio/mc diff --git a/images/tools/Earthfile b/images/tools/Earthfile index cee0dc2ea4b7818cacd56be8b44895d8fc668324..5b2c40b318d1aae41ac08aca4e8ae81b4f307161 100644 --- a/images/tools/Earthfile +++ b/images/tools/Earthfile @@ -138,8 +138,8 @@ mdbook: # mdbook CLI cache FROM ../mirror+fedora - # renovate: datasource=github-releases depName=kubernetes-sigs/krew - ARG MDBOOK_VERSION=v0.4.18 + # renovate: datasource=github-releases depName=rust-lang/mdBook + ARG MDBOOK_VERSION=v0.4.36 ENV MDBOOK_VERSION=${MDBOOK_VERSION} RUN curl -L "https://github.com/rust-lang/mdBook/releases/download/${MDBOOK_VERSION}/mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz" | tar xvzf - mdbook \