Skip to content

Commit 543804f

Browse files
authored
fix: remove cargo lock file (#1896)
1 parent 494bd66 commit 543804f

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/mono-engine-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ concurrency:
3535

3636
jobs:
3737
build-push-single-arch:
38-
if: ${{ github.repository == 'web3infra-foundation/mega' }}
3938
runs-on: ubuntu-latest
4039
strategy:
4140
matrix:

.github/workflows/orion-server-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ concurrency:
2424

2525
jobs:
2626
build-push-single-arch:
27-
if: ${{ github.repository == 'web3infra-foundation/mega' }}
2827
runs-on: ubuntu-latest
2928
strategy:
3029
matrix:

mono/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ---------- planner stage ----------
22
# This stage analyzes the Cargo workspace and produces a dependency recipe.
3-
# The recipe will change ONLY when Cargo.toml / Cargo.lock changes.
3+
# The recipe will change ONLY when Cargo.toml changes.
44
FROM rust:1.93.0-bookworm AS chef
55

66
WORKDIR /opt/mega
77

88
# Install cargo-chef, a tool to cache Rust dependencies efficiently
99
RUN cargo install cargo-chef --version 0.1.73
1010

11-
COPY Cargo.toml Cargo.lock ./
11+
COPY Cargo.toml ./
1212
COPY api-model/Cargo.toml api-model/
1313
COPY ceres/Cargo.toml ceres/
1414
COPY common/Cargo.toml common/

orion-server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /app
66
# ────── Stage 1: Planner ──────
77
FROM chef AS planner
88

9-
COPY Cargo.toml Cargo.lock ./
9+
COPY Cargo.toml ./
1010
COPY api-model/Cargo.toml api-model/
1111
COPY ceres/Cargo.toml ceres/
1212
COPY common/Cargo.toml common/

0 commit comments

Comments
 (0)