Skip to content

Commit ceeb1cd

Browse files
committed
quick test
Signed-off-by: bakhtin <a@bakhtin.net>
1 parent 6cc1394 commit ceeb1cd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release-reproducible.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Extract version
21-
run: echo "VERSION=$(echo ${GITHUB_REF#refs/tags/})" >> $GITHUB_OUTPUT
21+
run: echo "VERSION=$(echo ${GITHUB_REF#(refs/tags/|refs/heads/)})" >> $GITHUB_OUTPUT
2222
id: extract_version
2323
outputs:
2424
VERSION: ${{ steps.extract_version.outputs.VERSION }}

Dockerfile.reproducible

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && \
1212
mold
1313
WORKDIR /app
1414
COPY . .
15-
RUN RUSTFLAGS_REPRODUCIBLE_EXTRA="-Clink-arg=-fuse-ld=mold" make build-reth-reproducible && PROFILE=${PROFILE:-reproducible} VERSION=$VERSION make build-deb-x86_64-unknown-linux-gnu
15+
#RUN RUSTFLAGS_REPRODUCIBLE_EXTRA="-Clink-arg=-fuse-ld=mold" make build-reth-reproducible && PROFILE=${PROFILE:-reproducible} VERSION=$VERSION make build-deb-x86_64-unknown-linux-gnu
16+
#TODO
17+
RUN mkdir -p /app/target/x86_64-unknown-linux-gnu/reproducible
18+
RUN echo "rethbinary" > /app/target/x86_64-unknown-linux-gnu/reproducible/reth
19+
RUN echo "debpackage" > /app/target/x86_64-unknown-linux-gnu/reproducible/reth_${VERSION}_amd64.deb
1620

1721
FROM scratch AS artifacts
1822
COPY --from=builder /app/target/x86_64-unknown-linux-gnu/reproducible/reth /reth

0 commit comments

Comments
 (0)