From f8ea8a9276267611eb89cbb95ec5362f33657c4d Mon Sep 17 00:00:00 2001 From: Tobias Trabelsi Date: Mon, 13 Jun 2022 21:12:54 +0200 Subject: [PATCH] re added gitea releases --- .drone.yml | 7 +++++++ .goreleaser.yml | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 521a072..91e090b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,7 +41,14 @@ steps: environment: GITEA_TOKEN: from_secret: gitea_token + GPG_PRIVATE_KEY: + from_secret: GPG_PRIVATE_KEY + GPG_FINGERPRINT: + from_secret: GPG_FINGERPRINT commands: + - apk add gpg-agent + - gpg-agent --daemon --default-cache-ttl 7200 + - echo $GPG_PRIVATE_KEY | gpg --import --batch --no-tty - goreleaser release resources: limits: diff --git a/.goreleaser.yml b/.goreleaser.yml index 9bb0aa7..44d007b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,6 +4,9 @@ before: hooks: # this is just an example and not a requirement for provider building/publishing - go mod tidy +gitea_urls: + api: https://git.uploadfilter24.eu/api/v1/ + download: https://git.uploadfilter24.eu builds: - env: # goreleaser does not work with CGO, it could also complicate @@ -51,6 +54,9 @@ signs: - "--detach-sign" - "${artifact}" release: + gitea: + owner: lerentis + name: terraform-provider-gitea extra_files: - glob: 'terraform-registry-manifest.json' name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'