diff --git a/.drone.yml b/.drone.yml index 1ea93a2..d7cabac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,7 +28,7 @@ platform: steps: - name: binary - image: clux/muslrust:nightly-2020-10-02 + image: clux/muslrust:nightly-2021-04-14 commands: - apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev - make build @@ -38,8 +38,6 @@ steps: - name: verify image: alpine commands: - - apk add tree - - tree - src/target/x86_64-unknown-linux-musl/release/vaultwarden --help - src/target/x86_64-unknown-linux-musl/release/vaultwarden --version depends_on: @@ -215,6 +213,6 @@ depends_on: --- kind: signature -hmac: 9077fc4c1385b0cbbd94966039dd7a6de3a4b4911a40e0c2b3c4e2e7df577b9c +hmac: c154ec6b9e2c325bc15353640277a9e618e69cbd5e433c9439e833e2694aba4e ... diff --git a/Makefile b/Makefile index 4cb936f..15216d4 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ # renovate: datasource=github-releases depName=dani-garcia/vaultwarden -export BUILD_VERSION ?= 1.20.0 +export BUILD_VERSION ?= 1.21.0 export DEBIAN_FRONTEND ?= noninteractive export LANG ?= C.UTF-8 export TZ ?= UTC +export RUSTFLAGS ?= '-C link-arg=-s' + DB ?= sqlite,postgresql SRC := src @@ -22,7 +24,7 @@ build-bin: rustup set profile minimal && \ cd $(SRC) && \ rustup target add x86_64-unknown-linux-musl && \ - VWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release + BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release .PHONY: clean clean: