subjectid commited on
Commit
a7c5f4b
·
verified ·
1 Parent(s): 0814205

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -2,4 +2,4 @@ FROM gradle:8.8-jdk17 AS build
2
  RUN --mount=type=secret,id=TOKEN,target=/run/secrets/TOKEN \
3
  export SECRET_VALUE=$(cat /run/secrets/TOKEN) && \
4
  echo "获取到的密钥长度为: ${SECRET_VALUE}"
5
- RUN git clone https://subjectid1:"$SECRET_VALUE"@github.com/subjectid1/dms.git
 
2
  RUN --mount=type=secret,id=TOKEN,target=/run/secrets/TOKEN \
3
  export SECRET_VALUE=$(cat /run/secrets/TOKEN) && \
4
  echo "获取到的密钥长度为: ${SECRET_VALUE}"
5
+ RUN git clone "https://subjectid1:$SECRET_VALUE@github.com/subjectid1/dms.git"