From ab2a4b1e13ab121705119b42c951a8a8c7b69f19 Mon Sep 17 00:00:00 2001 From: Magnus Walbeck Date: Fri, 25 Jun 2021 16:50:28 +0200 Subject: [PATCH 1/2] Switch to using buildx --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2 From f923a9f92ae6be3f54746fb95274a9e7402c5e35 Mon Sep 17 00:00:00 2001 From: Magnus Walbeck Date: Fri, 25 Jun 2021 17:11:05 +0200 Subject: [PATCH 2/2] what about this --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2