mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 08:12:25 -05:00
[chore] Update release CICD to point at "gitea" (#4100)
Updates our release flow to point at "gitea", which should work for Codeberg as well. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4100 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
parent
ac01652de9
commit
90f5004db0
3 changed files with 23 additions and 3 deletions
|
|
@ -2,6 +2,11 @@
|
||||||
version: 2
|
version: 2
|
||||||
project_name: gotosocial
|
project_name: gotosocial
|
||||||
|
|
||||||
|
# https://goreleaser.com/scm/gitea/#urls
|
||||||
|
gitea_urls:
|
||||||
|
api: https://codeberg.org/api/v1
|
||||||
|
download: https://codeberg.org
|
||||||
|
|
||||||
# https://goreleaser.com/customization/hooks/
|
# https://goreleaser.com/customization/hooks/
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
|
|
@ -232,6 +237,10 @@ source:
|
||||||
|
|
||||||
# https://goreleaser.com/customization/release/
|
# https://goreleaser.com/customization/release/
|
||||||
release:
|
release:
|
||||||
|
# https://goreleaser.com/customization/release/#gitea
|
||||||
|
gitea:
|
||||||
|
owner: superseriousbusiness
|
||||||
|
name: gotosocial
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
header: |
|
header: |
|
||||||
|
|
@ -319,7 +328,7 @@ release:
|
||||||
|
|
||||||
# https://goreleaser.com/customization/changelog/
|
# https://goreleaser.com/customization/changelog/
|
||||||
changelog:
|
changelog:
|
||||||
use: github
|
use: gitea
|
||||||
groups:
|
groups:
|
||||||
- title: Features and performance
|
- title: Features and performance
|
||||||
regexp: '^.*\[(?:feature|performance).*\].*$'
|
regexp: '^.*\[(?:feature|performance).*\].*$'
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,17 @@ steps:
|
||||||
# https://woodpecker-ci.org/docs/usage/environment
|
# https://woodpecker-ci.org/docs/usage/environment
|
||||||
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
||||||
environment:
|
environment:
|
||||||
|
# Needed for goreleaser to
|
||||||
|
# push manifests + containers.
|
||||||
DOCKER_USERNAME: gotosocial
|
DOCKER_USERNAME: gotosocial
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: gts_docker_password
|
from_secret: gts_docker_password
|
||||||
GITHUB_TOKEN:
|
|
||||||
from_secret: github_token
|
# Needed for goreleaser
|
||||||
|
# to publish the release.
|
||||||
|
# https://goreleaser.com/scm/gitea/
|
||||||
|
GITEA_TOKEN:
|
||||||
|
from_secret: codeberg_token
|
||||||
|
|
||||||
# https://woodpecker-ci.org/docs/usage/workflow-syntax#commands
|
# https://woodpecker-ci.org/docs/usage/workflow-syntax#commands
|
||||||
commands:
|
commands:
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,14 @@ steps:
|
||||||
# https://woodpecker-ci.org/docs/usage/environment
|
# https://woodpecker-ci.org/docs/usage/environment
|
||||||
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
||||||
environment:
|
environment:
|
||||||
|
# Needed to push snapshot
|
||||||
|
# manifests + containers.
|
||||||
DOCKER_USERNAME: gotosocial
|
DOCKER_USERNAME: gotosocial
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: gts_docker_password
|
from_secret: gts_docker_password
|
||||||
|
|
||||||
|
# Needed for snapshot script
|
||||||
|
# to publish artifacts to S3.
|
||||||
S3_ACCESS_KEY_ID:
|
S3_ACCESS_KEY_ID:
|
||||||
from_secret: gts_s3_access_key_id
|
from_secret: gts_s3_access_key_id
|
||||||
S3_SECRET_ACCESS_KEY:
|
S3_SECRET_ACCESS_KEY:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue