This is an automated email from the ASF dual-hosted git repository. fcsaky pushed a commit to branch docs-ci-rsync-dev in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
commit 4a5e46c26d2539a024e9c9b55a82275c7d7194b2 Author: Ferenc Csaky <[email protected]> AuthorDate: Mon Sep 29 12:48:58 2025 +0200 Fix mvn build in `docs.sh` and use proper JDK17 img --- .github/workflows/docs.sh | 2 +- .github/workflows/docs.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh index 079535dd..06eebe4a 100755 --- a/.github/workflows/docs.sh +++ b/.github/workflows/docs.sh @@ -18,7 +18,7 @@ ################################################################################ set -e -export JAVA_HOME=$JAVA_HOME_11_X64 +export JAVA_HOME=$JAVA_HOME_17_X64 # setup hugo HUGO_REPO=https://github.com/gohugoio/hugo/releases/download/v0.104.0/hugo_extended_0.104.0_Linux-64bit.tar.gz diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index bc0514b2..b9f5ce74 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -49,7 +49,9 @@ jobs: fi - name: Build documentation run: | - docker run --rm --volume "$PWD:/root/flink-kubernetes-operator" chesnay/flink-ci:java_8_11 bash -c "cd /root/flink-kubernetes-operator && ./.github/workflows/docs.sh" + docker run --rm -v "$PWD:/root/flink-kubernetes-operator" \ + chesnay/flink-ci:java_8_11_17_maven_386 \ + bash -c "git config --global --add safe.directory /root/flink-kubernetes-operator && cd /root/flink-kubernetes-operator && ./.github/workflows/docs.sh" - name: Upload documentation uses: ./.github/actions/rsync-deployments with:
