diff --git a/.drone.yml b/.drone.yml index a314b52..68855a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,8 @@ name: test steps: - name: build test - image: plugins/docker + image: thegeeklab/drone-docker-buildx + privileged: true pull: if-not-exists settings: dockerfile: Dockerfile diff --git a/Dockerfile b/Dockerfile index feec66b..350de38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV NOTIFY_PUSH_VERSION v0.2.0 RUN set -ex; \ git clone --branch $NOTIFY_PUSH_VERSION https://github.com/nextcloud/notify_push.git .; \ - cargo build --release --target=x86_64-unknown-linux-musl; + cargo build --release; FROM scratch