From 0fec124495b1cbdafe67d80cdfb35240aacf4cbe Mon Sep 17 00:00:00 2001 From: kekskurse Date: Mon, 20 Sep 2021 11:33:14 +0200 Subject: [PATCH] Stuff --- .drone.yml | 18 ++++++++++++++++++ .goreleaser.yml | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 .drone.yml 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