File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 3232 RUST_TOOLCHAIN=$(rustc --version | cut -d' ' -f2)
3333 docker build \
3434 --build-arg "RUST_TOOLCHAIN=${RUST_TOOLCHAIN}" \
35- -v "${{ github.workspace }}:/build" \
36- -f docker/Dockerfile.reproducible -t rbuilder:release .
35+ -f docker/Dockerfile.reproducible -t rbuilder:release \
36+ --output type=local,dest=./target .
3737
3838 - name : Calculate SHA256
3939 id : sha256
Original file line number Diff line number Diff line change @@ -10,5 +10,8 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && \
1010 protobuf-compiler \
1111 cmake
1212WORKDIR /build
13- RUN SOURCE_DATE=1730000000 make build
14- RUN make build-deb
13+ COPY . .
14+ RUN SOURCE_DATE=1730000000 make build && make build-deb
15+
16+ FROM scratch AS artifacts
17+ COPY --from=builder /build/target/x86_64-unknown-linux-gnu/reproducible/* /
You can’t perform that action at this time.
0 commit comments