Skip to content

Commit f2cf431

Browse files
committed
2
Signed-off-by: bakhtin <[email protected]>
1 parent 75c5c3b commit f2cf431

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/reprotest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
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

docker/Dockerfile.reproducible

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && \
1010
protobuf-compiler \
1111
cmake
1212
WORKDIR /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/* /

0 commit comments

Comments
 (0)