Skip to content

Commit d138767

Browse files
committed
fix(docker): copy providers/ into in-Docker rust-builder stage
PR #1037 added include_str!("../../../providers/*.yaml") in crates/openshell-providers/src/profiles.rs, but the BUILD_FROM_SOURCE=1 path of Dockerfile.images only COPY's Cargo.toml/Cargo.lock, crates/, and proto/. With providers/ missing the cargo build inside the rust- builder stage fails to read the embedded YAML. The release path is unaffected because it copies pre-built binaries from deploy/docker/.build/prebuilt-binaries/. This breaks 'mise run e2e:helm:*' and any other workflow that builds images from source via this Dockerfile (e.g., the local helm-e2e harness). Add 'COPY providers/ providers/' alongside the other source inputs.
1 parent 95eac83 commit d138767

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

deploy/docker/Dockerfile.images

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ WORKDIR /build
4848
COPY Cargo.toml Cargo.lock ./
4949
COPY crates/ crates/
5050
COPY proto/ proto/
51+
COPY providers/ providers/
5152

5253
RUN --mount=type=cache,target=/usr/local/cargo/registry \
5354
--mount=type=cache,target=/build/target \

0 commit comments

Comments
 (0)