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 0221bab1718b5b3c772cd91dc56e35959dbae713 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 | 4 ++-- .github/workflows/docs.yaml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh index 079535dd..1e7d702c 100755 --- a/.github/workflows/docs.sh +++ b/.github/workflows/docs.sh @@ -16,9 +16,9 @@ # See the License for the specific language governing permissions and # limitations under the License. ################################################################################ -set -e +set -ex -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..e2d29c17 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -49,7 +49,11 @@ 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 \ + --workdir /workdir \ + -v "$PWD:/workdir" \ + chesnay/flink-ci:java_8_11_17_21_maven_386_jammy \ + bash -c 'chown root:root /workdir && .github/workflows/docs.sh' - name: Upload documentation uses: ./.github/actions/rsync-deployments with:
