diff --git a/.drone.jsonnet b/.drone.jsonnet index a67b623..401cc64 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -14,13 +14,24 @@ local pipeline(os, arch) = { "tar -cvzf release/ubnt-freifunk-map-api_"+ os + "-" + arch + ".tar.gz -C release/" + os + "/" + arch + " ubnt-freifunk-map-api" ], }, + { + name: "gitea_release " + os + "/" + arch, + image: "plugins/gitea-release", + settings: { + api_key: { "$secret": "gitea_api_key" }, + base_url: "https://git.freifunk-rhein-sieg.net", + files: "release/*.tar.gz" + }, + when: { + event: "tag" + }, + }, ], }; [ pipeline("linux", "amd64"), pipeline("linux", "arm64"), pipeline("darwin", "amd64"), - pipeline("darwin", "arm64"), + // pipeline("darwin", "arm64"), pipeline("windows", "amd64"), - pipeline("windows", "arm64"), ] \ No newline at end of file