# .woodpecker.yml platform: linux/arm64 pipeline: build: image: node:18-alpine commands: - apk add git - npm ci - mkdir build - npm run prepublish buildBin: image: node:18 commands: - apt-get install zip tar - mkdir outbag_server - mkdir outbag_server/dist - mkdir upload - cp -r dist/* outbag_server/dist - cp package.json outbag_server - cp package-lock.json outbag_server - cp readme.md outbag_server - zip -r upload/OutbagServer.zip outbag_server/* - tar -czvf upload/OutbagServer.tar.gz outbag_server/* publish: image: woodpeckerci/plugin-gitea-release settings: base_url: https://codeberg.org files: - "upload/*" api_key: from_secret: gitea_token when: event: tag depends_on: - test