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 eb62948255f972cd7262a42533547655eef7b933
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 | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh
index 079535dd..91930713 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="/usr/lib/jvm/jdk-17.0.7+7"
 
 # 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..653dd7b6 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -49,7 +49,12 @@ 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 \
+            --user "$(id -u):$(id -g)" \
+            --workdir /workdir \
+            --volume "$PWD:/workdir" \
+            chesnay/flink-ci:java_8_11_17_21_maven_386_jammy \
+            bash -c './.github/workflows/docs.sh'
       - name: Upload documentation
         uses: ./.github/actions/rsync-deployments
         with:

Reply via email to