diff --git a/.drone.yml b/.drone.yml index 2de22ce..7916752 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,8 +11,14 @@ steps: image: rust:buster commands: - cargo build --release - - name: archive - image: plugins/zip - settings: - source: target/release/voctool - target: voctool.zip \ No newline at end of file + - name: package + image: alpine + environment: + - BINARY_NAME=voctool + commands: + - apk add zip tar + - zip ${BINARY_NAME}.zip target/release/${BINARY_NAME} + - tar -czvf ${BINARY_NAME}.tar.gz target/release/${BINARY_NAME} + when: + status: success +