kind: pipeline type: docker name: default steps: - name: build image: maven:3-openjdk-8 commands: - mvn clean package - name: publish image: plugins/gitea-release settings: base_url: https://git.greinet.com api_key: from_secret: gitea_api_key_xcraftbots files: target/XCraftBots-1.0-jar-with-dependencies.jar checksum: sha256 tag: ${DRONE_TAG} when: event: - tag trigger: event: - push - tag