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