Skip to content

Commit b30fe6b

Browse files
committed
feat: dockerhub release
1 parent 4872b31 commit b30fe6b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diff-coverage"
3-
version = "0.2.1"
3+
version = "0.2.5"
44
edition = "2021"
55
description = "Diff-coverage, supercharged in Rust. Fast, memory-efficient coverage on changed lines for CI."
66
license = "MIT"

Dockerfile.release

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ FROM alpine:${ALPINE_VERSION}
77
ARG TARGETPLATFORM
88
RUN apk add --no-cache ca-certificates
99
COPY dist/ /dist/
10-
ARG TARGETPLATFORM
1110
RUN case "$TARGETPLATFORM" in \
1211
"linux/arm64") echo "aarch64-unknown-linux-musl" > rust_target.txt ;; \
1312
"linux/amd64") echo "x86_64-unknown-linux-musl" > rust_target.txt ;; \
1413
*) exit 1 ;; \
1514
esac
16-
17-
RUN
15+
RUN set -eux; \
1816
mv "/dist/diff-coverage-$(cat rust_target.txt)" /usr/local/bin/diff-coverage; \
1917
chmod +x /usr/local/bin/diff-coverage; \
2018
rm -rf /dist rust_target.txt

0 commit comments

Comments
 (0)