This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 3de9bee50 Uses jekyll builder and adds missing volume mapping
3de9bee50 is described below

commit 3de9bee50a48e30b96f795b27b5ceec083064e34
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Fri Oct 7 09:10:28 2022 +0200

    Uses jekyll builder and adds missing volume mapping
---
 Jenkinsfile     | 3 ++-
 docker-build.sh | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5a7eca8a5..c6c02aa39 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -18,7 +18,8 @@ pipeline {
     stage('Build a staged website') {
       agent {
         docker {
-          image 'jekyll/jekyll:4.2.2'
+          image 'jekyll/builder:4.2.2'
+          args '-v $WORKSPACE:/srv/jekyll'
         }
       }
       steps {
diff --git a/docker-build.sh b/docker-build.sh
index 95277602e..69ea74716 100755
--- a/docker-build.sh
+++ b/docker-build.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
 export JEKYLL_VERSION=4.2.2
 
-docker run --rm -v $PWD:/srv/jekyll -it jekyll/jekyll:$JEKYLL_VERSION jekyll 
build
+docker run --rm -v $PWD:/srv/jekyll -it jekyll/builder:$JEKYLL_VERSION jekyll 
build
 

Reply via email to