Skip to content

Commit 25c06e5

Browse files
authored
Upgrade reproducible docker image to 20250117 (#27)
This new docker image is packed with Rust 1.81.0 with LLVM 18.1.8
1 parent 9c61f6a commit 25c06e5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
git submodule add https://github.com/nervosnetwork/ckb-c-stdlib deps/ckb-c-stdlib &&
4040
git submodule add https://github.com/xxuejie/lib-dummy-atomics deps/lib-dummy-atomics
4141
- name: Lock Rust version
42-
run: cd test-workspace && echo "1.75.0" > rust-toolchain
42+
run: cd test-workspace && echo "1.81.0" > rust-toolchain
4343
- name: Install riscv64 target
4444
run: cd test-workspace && rustup target add riscv64imac-unknown-none-elf
4545
- name: Run all checks
@@ -49,7 +49,7 @@ jobs:
4949
- name: Generate standalone contract
5050
run: cargo generate --path . standalone-contract --name test-contract
5151
- name: Lock Rust version
52-
run: cd test-contract && echo "1.75.0" > rust-toolchain
52+
run: cd test-contract && echo "1.81.0" > rust-toolchain
5353
- name: Run all checks
5454
run: cd test-contract && make build test check clippy
5555
- name: Reproducible build runs

standalone-contract/scripts/reproducible_build_docker

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
set -ex
88

99
DOCKER="${DOCKER:-docker}"
10-
# docker pull docker.io/cryptape/llvm-n-rust:20240630
11-
DOCKER_IMAGE="${DOCKER_IMAGE:-docker.io/cryptape/llvm-n-rust@sha256:bafaf76d4f342a69b8691c08e77a330b7740631f3d1d9c9bee4ead521b29ee55}"
10+
# docker pull docker.io/cryptape/llvm-n-rust:20250117
11+
DOCKER_IMAGE="${DOCKER_IMAGE:-docker.io/cryptape/llvm-n-rust@sha256:12e7821cb9c7cbc8988d5b1d60bcc87da4cedcf3eea32df1d8833328c5a69f88}"
1212
CHECKSUM_FILE_PATH="${CHECKSUM_FILE_PATH:-checksums.txt}"
1313

1414
# We are parsing command line arguments based on tips from:

workspace/scripts/reproducible_build_docker

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
set -ex
88

99
DOCKER="${DOCKER:-docker}"
10-
# docker pull docker.io/cryptape/llvm-n-rust:20240630
11-
DOCKER_IMAGE="${DOCKER_IMAGE:-docker.io/cryptape/llvm-n-rust@sha256:bafaf76d4f342a69b8691c08e77a330b7740631f3d1d9c9bee4ead521b29ee55}"
10+
# docker pull docker.io/cryptape/llvm-n-rust:20250117
11+
DOCKER_IMAGE="${DOCKER_IMAGE:-docker.io/cryptape/llvm-n-rust@sha256:12e7821cb9c7cbc8988d5b1d60bcc87da4cedcf3eea32df1d8833328c5a69f88}"
1212
CHECKSUM_FILE_PATH="${CHECKSUM_FILE_PATH:-checksums.txt}"
1313

1414
# We are parsing command line arguments based on tips from:

0 commit comments

Comments
 (0)