re added gitea releases

pull/4/head
Tobias Trabelsi 2 years ago
parent cc6f0d460a
commit f8ea8a9276
No known key found for this signature in database
GPG Key ID: FF0C2839718CAF2E

@ -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:

@ -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'

Loading…
Cancel
Save