diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..41c948d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +kind: pipeline +name: default + +steps: + - name: fetch + image: docker:git + commands: + - git fetch --tags + + - name: release + image: golang + environment: + GITEA_TOKEN: + from_secret: GITEA_TOKEN + commands: + - curl -sL https://git.io/goreleaser | bash + when: + event: tag diff --git a/.goreleaser.yml b/.goreleaser.yml index f758613..da53960 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -28,3 +28,8 @@ changelog: exclude: - '^docs:' - '^test:' +gitea_urls: + api: https://git.keks.cloud/api/v1/ + download: https://git.keks.cloud + # set to true if you use a self-signed certificate + skip_tls_verify: false \ No newline at end of file