mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-12-04 21:08:11 +00:00
re added gitea releases
This commit is contained in:
parent
cc6f0d460a
commit
f8ea8a9276
2 changed files with 13 additions and 0 deletions
|
@ -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…
Reference in a new issue