We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca938f3 commit f3493c2Copy full SHA for f3493c2
Dockerfile
@@ -44,16 +44,14 @@ COPY .git /source/.git
44
# Clone from local source into working directory
45
WORKDIR /app
46
47
-RUN git clone --branch main /source /app --local
48
-RUN git remote set-url origin https://github.com/oleander/git-ai.git
49
-RUN git pull origin main
+ARG GH_TOKEN
+ENV GH_TOKEN=$GH_TOKEN
+RUN gh repo clone oleander/git-ai /app
50
RUN cargo fetch
51
RUN cargo build
52
RUN cargo clippy
53
54
ARG PR_NUMBER
55
-ARG GH_TOKEN
56
-ENV GH_TOKEN=$GH_TOKEN
57
RUN gh pr checkout $PR_NUMBER
58
59
0 commit comments