Skip to content

Commit

Permalink
Merge pull request #295 from atkrad/add-newline-end-of-checksum-file
Browse files Browse the repository at this point in the history
Add a newline at the end of "*.sha256sum" files
  • Loading branch information
atkrad authored Jun 17, 2024
2 parents 6cbd50f + c1daf35 commit 0dbecdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN --mount=from=binary,target=/build \
&& tar -czvf "/out/wait4x-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}.tar.gz" * \
# Change dir to "/out" to prevent adding "/out" in the sha256sum command output.
&& cd /out \
&& sha256sum -z "wait4x-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}.tar.gz" > "wait4x-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}.tar.gz.sha256sum"
&& sha256sum "wait4x-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}.tar.gz" > "wait4x-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}.tar.gz.sha256sum"

FROM scratch AS artifact
COPY --from=releaser /out /
Expand Down

0 comments on commit 0dbecdd

Please sign in to comment.