re added gitea releases
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Trabelsi 2022-06-13 21:12:54 +02:00
parent cc6f0d460a
commit f8ea8a9276
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
2 changed files with 13 additions and 0 deletions

View File

@ -41,7 +41,14 @@ steps:
environment: environment:
GITEA_TOKEN: GITEA_TOKEN:
from_secret: gitea_token from_secret: gitea_token
GPG_PRIVATE_KEY:
from_secret: GPG_PRIVATE_KEY
GPG_FINGERPRINT:
from_secret: GPG_FINGERPRINT
commands: commands:
- apk add gpg-agent
- gpg-agent --daemon --default-cache-ttl 7200
- echo $GPG_PRIVATE_KEY | gpg --import --batch --no-tty
- goreleaser release - goreleaser release
resources: resources:
limits: limits:

View File

@ -4,6 +4,9 @@ before:
hooks: hooks:
# this is just an example and not a requirement for provider building/publishing # this is just an example and not a requirement for provider building/publishing
- go mod tidy - go mod tidy
gitea_urls:
api: https://git.uploadfilter24.eu/api/v1/
download: https://git.uploadfilter24.eu
builds: builds:
- env: - env:
# goreleaser does not work with CGO, it could also complicate # goreleaser does not work with CGO, it could also complicate
@ -51,6 +54,9 @@ signs:
- "--detach-sign" - "--detach-sign"
- "${artifact}" - "${artifact}"
release: release:
gitea:
owner: lerentis
name: terraform-provider-gitea
extra_files: extra_files:
- glob: 'terraform-registry-manifest.json' - glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'