subjectid commited on
Commit
c5313f4
·
verified ·
1 Parent(s): 59124ae

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 $SECRET_VALUE
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