Skip to content

Commit d921d91

Browse files
committed
Fix mvn build in docs.sh and use proper JDK17 img
1 parent c0161e1 commit d921d91

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
################################################################################
1919
set -e
2020

21-
export JAVA_HOME=$JAVA_HOME_11_X64
21+
export JAVA_HOME=$JAVA_HOME_17_X64
2222

2323
# setup hugo
2424
HUGO_REPO=https://github.com/gohugoio/hugo/releases/download/v0.104.0/hugo_extended_0.104.0_Linux-64bit.tar.gz

.github/workflows/docs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
fi
5050
- name: Build documentation
5151
run: |
52-
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"
52+
docker run --rm -v "$PWD:/root/flink-kubernetes-operator" \
53+
chesnay/flink-ci:java_8_11_17_21_maven_386_jammy \
54+
bash -c 'git config --global --add safe.directory /root/flink-kubernetes-operator && cd /root/flink-kubernetes-operator && ./.github/workflows/docs.sh'
5355
- name: Upload documentation
5456
uses: ./.github/actions/rsync-deployments
5557
with:

0 commit comments

Comments
 (0)