diff --git a/.drone.yml b/.drone.yml index e002bec..628fb67 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,10 +44,8 @@ steps: - make dist/minitor-linux-amd64 - name: compress binaries for release - image: busybox + image: ubuntu commands: - - pwd - - ls - ./compress_release.sh - find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \; diff --git a/compress_release.sh b/compress_release.sh index daf4669..7947d80 100755 --- a/compress_release.sh +++ b/compress_release.sh @@ -1,3 +1,3 @@ -#! /bin/sh +#! /bin/bash find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \;