Switch to using buildx #9

Open
mwalbeck wants to merge 2 commits from buildx into master
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ name: test
steps: steps:
- name: build test - name: build test
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
pull: if-not-exists pull: if-not-exists
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile

View File

@ -5,7 +5,7 @@ ENV NOTIFY_PUSH_VERSION v0.2.0
RUN set -ex; \ RUN set -ex; \
git clone --branch $NOTIFY_PUSH_VERSION https://github.com/nextcloud/notify_push.git .; \ 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 FROM scratch