File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : release-autoindex
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ autoindex-image :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ - name : Set up Docker Buildx
15+ uses : docker/setup-buildx-action@v1
16+ - name : Login to DockerHub
17+ uses : docker/login-action@v1
18+ with :
19+ username : ${{ secrets.DOCKER_USERNAME }}
20+ password : ${{ secrets.DOCKER_PASSWORD }}
21+ - name : Build and push
22+ id : docker_build
23+ uses : docker/build-push-action@v2
24+ with :
25+ file : Dockerfile.autoindex
26+ push : true
27+ tags : sourcegraph/lsif-typescript:autoindex
Original file line number Diff line number Diff line change 1+ FROM sourcegraph/src-cli:3.30.4@sha256:76ee253f9ba6ed1a8fdc46ab1e3f333ea0813841d34feb1aa9b8b57edce4eaab AS src-cli
2+
3+ FROM node:14.17.4-alpine3.14@sha256:60a5e65ced8bad91a4c57c05a474baa01182b2b773eb50380e4a90ad4b3e6358
4+
5+ ENV NODE_OPTIONS=--max-old-space-size=4096
6+
7+ RUN apk add --no-cache git bash curl ca-certificates python3 make libstdc++ libgcc gcc g++ pkgconfig python2 automake autoconf
8+
9+ COPY --from=src-cli /usr/bin/src /usr/bin
10+
11+ RUN npm install --global n@latest @sourcegraph/lsif-typescript@latest
12+
13+ CMD ["/bin/sh"]
You can’t perform that action at this time.
0 commit comments