diff --git a/.drone.yml b/.woodpecker/woodpecker.yml similarity index 55% rename from .drone.yml rename to .woodpecker/woodpecker.yml index a79cf31..bea0ec8 100644 --- a/.drone.yml +++ b/.woodpecker/woodpecker.yml @@ -1,30 +1,20 @@ -kind: pipeline -type: docker -name: default - steps: - name: build-install-locally + when: + event: [tag, push] image: maven:3-jdk-11 commands: - mvn -B -DskipTests clean install - mvn test -B volumes: - - name: m2 - path: /root/.m2 + - /home/docker/woodpecker/files/m2:/root/.m2 - name: archive-artifact + when: + event: [tag, push] image: alpine:latest commands: - mkdir -p /builds/ISEE9660 - cp target/ISEE9660-*[0-9].jar /builds/ISEE9660/ volumes: - - name: builds - path: /builds - -volumes: - - name: m2 - host: - path: /home/docker/drone/files/m2 - - name: builds - host: - path: /home/www/builds \ No newline at end of file + - /home/www/builds:/builds diff --git a/README.md b/README.md index 1b5af7e..d615e52 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ #### ISEE9660 -[![Build Status](https://ci.redrise.ru/api/badges/desu/ISEE9660/status.svg)](https://ci.redrise.ru/desu/ISEE9660) +[![status-badge](https://ci.redrise.ru/api/badges/5/status.svg)](https://ci.redrise.ru/repos/5) Simple ISO9660 reader. Nice example, good for reuse. \ No newline at end of file