File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : GitHub Container Registry
2+
3+ on :
4+ push :
5+ branches :
6+ - gh-pkg-docker
7+
8+
9+ jobs :
10+ build :
11+ name : Build and push to GHCR
12+ runs-on : ubuntu-latest
13+ permissions :
14+ packages : write
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+
19+ - name : Login to GitHub Container Registry
20+ uses : docker/login-action@v3
21+ with :
22+ registry : ghcr.io
23+ username : ${{ github.actor }}
24+ password : ${{ secrets.GITHUB_TOKEN }}
25+
26+ - name : Build VSCode Web and push to GHCR
27+ uses : docker/build-push-action@v5
28+ with :
29+ context : .
30+ push : true
31+ tags : ghcr.io/${{ github.repository }}:latest
Original file line number Diff line number Diff line change 1+ FROM alpine:latest AS build
2+ WORKDIR /v86
3+ RUN apk add --update curl clang make openjdk8-jre-base npm python3 git openssh && \
4+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && PATH="${HOME}/.cargo/bin:${PATH}" rustup target add wasm32-unknown-unknown
5+ COPY . .
6+ RUN PATH="${HOME}/.cargo/bin:${PATH}" make all && \
7+ rm -rf closure-compiler gen lib src .cargo cargo.toml Makefile
8+
9+ FROM scratch AS dist
10+ COPY --from=build /v86/build /
You can’t perform that action at this time.
0 commit comments