File tree Expand file tree Collapse file tree 5 files changed +59
-11
lines changed Expand file tree Collapse file tree 5 files changed +59
-11
lines changed Original file line number Diff line number Diff line change 99 "dockerfile" : " ../Dockerfile.dev"
1010 },
1111 "features" : {
12- "ghcr.io/devcontainers/features/rust:1" : {
13- "version" : " latest" ,
14- "profile" : " minimal"
15- }
1612 }
1713
1814 // Features to add to the dev container. More info: https://containers.dev/features.
Original file line number Diff line number Diff line change 1+ name : docker_dev
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - release/*
7+
8+
9+ jobs :
10+ artifacts :
11+ name : docker_dev
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ with :
16+ submodules : true
17+ -
18+ name : Set up QEMU
19+ uses : docker/setup-qemu-action@v2
20+ -
21+ name : Set up Docker Buildx
22+ uses : docker/setup-buildx-action@v2
23+ -
24+ name : Login to ali registry
25+ uses : docker/login-action@v2
26+ with :
27+ registry : registry.cn-hangzhou.aliyuncs.com
28+ username : ${{ secrets.DOCKERHUB_USERNAME }}
29+ password : ${{ secrets.DOCKERHUB_TOKEN }}
30+ -
31+ name : Build and push
32+ uses : docker/build-push-action@v4
33+ with :
34+ context : .
35+ push : true
36+ file : ./Dockerfile.dev
37+ tags : registry.cn-hangzhou.aliyuncs.com/pivot_studio/pivot_lang_dev:latest
Original file line number Diff line number Diff line change 44 branches :
55 - master
66 - release/*
7-
7+ paths :
8+ - ' **.rs'
9+ - ' **/Cargo.*'
10+ - ' .github/workflows/release.yml'
11+ - ' **.pi'
12+ - ' **/Kagari.*'
13+ - ' codecov.yml'
814
915jobs :
1016 artifacts :
Original file line number Diff line number Diff line change @@ -6,4 +6,18 @@ RUN apt-get update && apt-get install -y gnupg2 software-properties-common cmake
66RUN apt-get update && apt-get install -y lsb-release wget && apt-get clean all
77RUN ./setup-llvm.sh
88RUN apt update
9- RUN apt install -y git libxml2 build-essential libunwind-dev
9+ RUN apt install -y git libxml2 build-essential libunwind-dev
10+ RUN apt-get update
11+
12+ # Get Ubuntu packages
13+ RUN apt-get install -y \
14+ build-essential \
15+ curl
16+
17+ # Update new packages
18+ RUN apt-get update
19+
20+ # Get Rust
21+ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
22+ ENV PATH="/root/.cargo/bin:${PATH}"
23+ RUN cargo
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments