forked from NYANDEV/forgejo
adfc9f0a06
(cherry picked from commit c2a7aaeee82293793b2740251dc5fd27dfb32ddb) (cherry picked from commit 4277bdb7414885ef87a4c72fa73c088caa7cc5f1) (cherry picked from commit adebc446711af1342671a75570edc69c73a480e9) (cherry picked from commit 9a7332c2be588884056e34aa301f37967f33c0f2) (cherry picked from commitcf5e3b046c
) (cherry picked from commit eec15a625e621e2e884c8740815881a54fae20fb) (cherry picked from commit1d7d8f4565
) (cherry picked from commita6e1410f26
) (cherry picked from commit61bcece963
)
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
|