init
This commit is contained in:
parent
bf6db0a8d7
commit
caf13ad32c
@ -60,7 +60,7 @@ spec:
|
|||||||
- name: gitInitImage
|
- name: gitInitImage
|
||||||
description: The image providing the git-init binary that this Task runs.
|
description: The image providing the git-init binary that this Task runs.
|
||||||
type: string
|
type: string
|
||||||
default: "bitnami/git:2.48.1-debian-12-r6"
|
default: "alpine/git:2.47.2"
|
||||||
- name: userHome
|
- name: userHome
|
||||||
description: |
|
description: |
|
||||||
Absolute path to the user's home directory.
|
Absolute path to the user's home directory.
|
||||||
@ -112,6 +112,10 @@ spec:
|
|||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export PARAM_USER_HOME=$HOME
|
||||||
|
|
||||||
|
echo "_____${PARAM_USER_HOME}"
|
||||||
|
|
||||||
# 디렉토리가 존재하는지 확인하고, 없으면 생성
|
# 디렉토리가 존재하는지 확인하고, 없으면 생성
|
||||||
if [ ! -d "${PARAM_USER_HOME}" ]; then
|
if [ ! -d "${PARAM_USER_HOME}" ]; then
|
||||||
mkdir -p "${PARAM_USER_HOME}"
|
mkdir -p "${PARAM_USER_HOME}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user