--- kind: pipeline type: docker name: default-linux-amd64 platform: arch: amd64 os: linux steps: - name: build image: golang commands: - ./ci-build.sh environment: GOOS: linux GOARCH: amd64 DRONE_TAG: ${DRONE_TAG} - name: release image: plugins/gitea-release settings: base_url: https://git.paulbsd.com api_key: from_secret: gitea_token files: dist/*.tar.gz when: event: tag