diff options
-rw-r--r-- | Dockerfile | 2 | ||||
-rwxr-xr-x | scripts/release | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,8 @@ RUN cargo build --release # Stage 2 FROM debian:bookworm-slim +LABEL version="0.8.2" + RUN mkdir -p /app RUN apt-get update && apt-get install -y libssl-dev diff --git a/scripts/release b/scripts/release index 9c513f4..86e3130 100755 --- a/scripts/release +++ b/scripts/release @@ -4,6 +4,7 @@ if [ $# -eq 0 ]; then fi sed -i "3s/.*/version = \"$1\"/" Cargo.toml +sed -i "12s/.*/LABEL version=\"$1\"/" Dockerfile cargo c git add Cargo.* git commit -m "release: version $1" |