Commit 056c4aa 1 parent 415e46e commit 056c4aa Copy full SHA for 056c4aa
File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
paths :
7
7
- tools/BUILD_CONTAINER_VERSION
8
+ branches :
9
+ - master
8
10
9
11
jobs :
10
12
docker :
30
32
- name : Build and push docker image
31
33
uses : docker/build-push-action@v4
32
34
with :
33
- context : .
34
- file : ./tools/ Dockerfile
35
+ context : " {{defaultContext}}:tools "
36
+ file : Dockerfile
35
37
platforms : linux/amd64
36
38
push : true
37
39
tags : dragonos/dragonos-dev:${{ steps.fetch-versions.outputs.build_container_version }}
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM ubuntu:jammy
2
2
3
3
# 设置环境变量
4
4
ENV TZ=Asia/Shanghai
5
+ ENV RUSTUP_DIST_SERVER=https://static.rust-lang.org
6
+ ENV RUSTUP_UPDATE_ROOT=https://static.rust-lang.org/rustup
5
7
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6
8
7
9
# 设置工作目录
You can’t perform that action at this time.
0 commit comments