Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 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 |
RUN git config --global credential.helper store
|
| 6 |
RUN git config --global credential.username oauth2
|
| 7 |
RUN echo "https://oauth2:${SECRET_VALUE}@github.com" | git credential approve
|
|
|
|
| 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 $TOKEN
|
| 5 |
RUN git config --global credential.helper store
|
| 6 |
RUN git config --global credential.username oauth2
|
| 7 |
RUN echo "https://oauth2:${SECRET_VALUE}@github.com" | git credential approve
|