diff --git a/.drone.yml b/.drone.yml index bdfd2a3..86daf1e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,9 +3,8 @@ name: release steps: - name: create-script-file - image: node:14-alpine + image: node:14 commands: - - apk add --no-cache npm # Install npm in Alpine Linux - echo "const axios = require('axios');" > custom-script.js - echo "" >> custom-script.js - echo "function getLatestReleaseTag() {" >> custom-script.js @@ -30,7 +29,7 @@ steps: - echo "}" >> custom-script.js - echo "" >> custom-script.js - name: run - image: node:14-alpine + image: node:14 commands: - npm install axios # Install axios using npm - node custom-script.js # Run the script