You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fc...@apache.org on 2025/09/29 11:30:29 UTC
(flink-kubernetes-operator) 01/01: Fix mvn build in `docs.sh` and use proper JDK17 img
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 d921d91b92e20a3cfc341f77c67c82f419e849dc
Author: Ferenc Csaky <fc...@apache.org>
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..0f82f9ac 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_21_maven_386_jammy \
+ 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: