Switch to using buildx #9
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user