--- kind: pipeline name: default steps: - name: build-linux-amd64 image: golang commands: - mkdir dist - go build -o dist/qrz-$GOOS-$GOARCH -mod=vendor -ldflags="-s -w" cmd/qrz/*.go environment: GOOS: linux GOARCH: amd64 - name: release image: plugins/gitea-release settings: base_url: https://git.paulbsd.com api_key: from_secret: gitea_token files: dist/* # when: # event: tag