Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
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
|
| 5 |
-
|
| 6 |
-
RUN git clone "https://subjectid1:"+$SECRET_VALUE+"@github.com/subjectid1/dms.git"
|
|
|
|
| 1 |
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
|
|
|