mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-06 01:09:33 +00:00
61bcece963
(cherry picked from commitc2a7aaeee8
) (cherry picked from commit4277bdb741
) (cherry picked from commitadebc44671
) (cherry picked from commit9a7332c2be
) (cherry picked from commitcf5e3b046c
) (cherry picked from commiteec15a625e
) (cherry picked from commit1d7d8f4565
) (cherry picked from commita6e1410f26
)
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
|