diff --git a/.drone.yml b/.drone.yml index 044e7b6..7e44904 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,4 +5,15 @@ steps: - name: build image: golang commands: - - go build -ldflags="-s -w" \ No newline at end of file + - GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o dist/usergen-amd64-windows.exe + GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o dist/usergen-amd64-linux + GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o dist/usergen-amd64-darwin + +- name: create_release + image: plugins/gitea-release + settings: + api_key: + from_secret: gitea_public_releases + base_url: http://git.mroberts.dev + files: dist/* + checksum: sha256 \ No newline at end of file