mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-09-07 15:31:16 +02:00
Refs: https://codeberg.org/forgejo/forgejo/issues/73 Refs: https://codeberg.org/forgejo/forgejo/issues/101 Refs: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/issues/51 Refs: https://codeberg.org/forgejo/forgejo/issues/117 Refs: https://codeberg.org/forgejo/forgejo/issues/25 Refs: https://codeberg.org/forgejo/forgejo/issues/154 Refs: https://codeberg.org/forgejo/forgejo/issues/180 Refs: https://codeberg.org/forgejo/forgejo/issues/230
37 lines
630 B
YAML
37 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
|