mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
93e3ebff86
(cherry picked from commitc2a7aaeee8
) (cherry picked from commit6b6007fbce
) (cherry picked from commit63608a221e
) (cherry picked from commit5cfe60baa7
) (cherry picked from commit2af4c73d12
) (cherry picked from commit1985959bfe
) (cherry picked from commit880424c77e
) (cherry picked from commitc78a861d1b
) (cherry picked from commit25c1227011
) (cherry picked from commit7195e894ee
) (cherry picked from commitcf15153873
) (cherry picked from commit9bee773c95
) (cherry picked from commit581c3060da
) (cherry picked from commitbf550f9b2c
) (cherry picked from commitb570eca0b9
) [CI] implementation: Woodpecker based CI (squash) Upgrade xgo to Go v1.20 for building binaries (cherry picked from commit6308c776b6
) [CI] v1.20: switch PR check from Woodpecker CI to Forgejo Actions The PR checks for v1.19 still rely on Woodpecker CI. Keeping .woodpecker in v1.20 while both Woodpecker CI & Forgejo Actions are enabled would dupicate the checks. The release process in releases remains Woodpecker CI. (cherry picked from commit93e42f3f53
) (cherry picked from commit599c5162ad
) (cherry picked from commit6f8b723a55
) (cherry picked from commite238d7d72f
)
36 lines
630 B
YAML
36 lines
630 B
YAML
platform: linux/amd64
|
|
|
|
when:
|
|
event: tag
|
|
|
|
variables:
|
|
- &dind_image 'docker:20.10-dind'
|
|
- &gpg_sign_image 'plugins/gpgsign:1'
|
|
|
|
pipeline:
|
|
|
|
pull:
|
|
image: *dind_image
|
|
commands:
|
|
- ./releases/binaries-pull-push.sh pull
|
|
|
|
gpg-sign:
|
|
image: *gpg_sign_image
|
|
pull: true
|
|
settings:
|
|
detach_sign: true
|
|
excludes:
|
|
- "dist/release/*.sha256"
|
|
files:
|
|
- "dist/release/*"
|
|
key:
|
|
from_secret: releaseteamgpg
|
|
|
|
push:
|
|
image: *dind_image
|
|
commands:
|
|
- ./releases/binaries-pull-push.sh push
|
|
secrets:
|
|
- releaseteamtoken
|
|
- releaseteamuser
|
|
- domain
|