Skip to content

Commit

Permalink
chore: fixing dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Oct 30, 2024
1 parent 77aae44 commit bf57957
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARG GITHUB_TOKEN
WORKDIR /app
COPY pom.xml ./
COPY src ./src
COPY ../.github/settings.xml.template /root/.m2/settings.xml
COPY settings.xml.template /root/.m2/settings.xml
RUN sed -i "s|\${GITHUB_USERNAME}|${GITHUB_USERNAME}|g" /root/.m2/settings.xml && \
sed -i "s|\${GITHUB_TOKEN}|${GITHUB_TOKEN}|g" /root/.m2/settings.xml

Expand Down
2 changes: 1 addition & 1 deletion legacy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARG GITHUB_TOKEN
WORKDIR /app
COPY pom.xml ./
COPY src ./src
COPY ../.github/settings.xml.template /root/.m2/settings.xml
COPY settings.xml.template /root/.m2/settings.xml
RUN sed -i "s|\${GITHUB_USERNAME}|${GITHUB_USERNAME}|g" /root/.m2/settings.xml && \
sed -i "s|\${GITHUB_TOKEN}|${GITHUB_TOKEN}|g" /root/.m2/settings.xml

Expand Down
2 changes: 1 addition & 1 deletion processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARG GITHUB_TOKEN
WORKDIR /app
COPY pom.xml ./
COPY src ./src
COPY ../.github/settings.xml.template /root/.m2/settings.xml
COPY settings.xml.template /root/.m2/settings.xml
RUN sed -i "s|\${GITHUB_USERNAME}|${GITHUB_USERNAME}|g" /root/.m2/settings.xml && \
sed -i "s|\${GITHUB_TOKEN}|${GITHUB_TOKEN}|g" /root/.m2/settings.xml

Expand Down

0 comments on commit bf57957

Please sign in to comment.