From cb9b804ac40e6d4f59be7e64612c5d411617b739 Mon Sep 17 00:00:00 2001 From: Emmanuel Bruno <emmanuel.bruno@univ-tln.fr> Date: Fri, 28 Oct 2022 17:11:30 +0200 Subject: [PATCH] improves action --- mvn.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mvn.sh b/mvn.sh index 2bdf2b9..1581541 100755 --- a/mvn.sh +++ b/mvn.sh @@ -5,6 +5,8 @@ CURRENT=$(pwd) echo SCRIPT_DIR=$SCRIPT_DIR echo PWD=$CURRENT + +# mount the gh action directory in the container docker run \ --env GITHUBLOGIN=$GITHUBLOGIN \ --env GITHUBPASSWORD=$GITHUBPASSWORD \ @@ -12,7 +14,7 @@ docker run \ --mount type=bind,source=${HOME}/.ssh,target=/home/user/.ssh \ --mount type=bind,source=${HOME}/.gitconfig,target=/home/user/.gitconfig,readonly \ --mount type=bind,source="$(pwd)",target=/usr/src/mymaven \ - --mount type=bind,source=${SCRIPT_DIR},target=/usr/local/ci-java-build-action/ \ # mount the gh action directory in the container + --mount type=bind,source=${SCRIPT_DIR},target=/usr/local/ci-java-build-action/ \ --workdir /usr/src/mymaven \ --rm \ --env PUID=`id -u` -e PGID=`id -g` \ -- GitLab