mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 01:32:25 -05:00
[chore] Update drone + goreleaser (#3742)
This commit is contained in:
parent
1276cde4b3
commit
00bd0f7658
2 changed files with 39 additions and 240 deletions
21
.drone.yml
21
.drone.yml
|
|
@ -94,7 +94,7 @@ steps:
|
|||
- pull_request
|
||||
|
||||
- name: snapshot
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.7.0 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.8.0 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||
volumes:
|
||||
- name: go-build-cache
|
||||
path: /root/.cache/go-build
|
||||
|
|
@ -117,18 +117,13 @@ steps:
|
|||
|
||||
# Login to Docker, push Docker image snapshots + manifests.
|
||||
- /go/dockerlogin.sh
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-armv6
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-armv7
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-arm64v8
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-amd64
|
||||
- docker manifest create superseriousbusiness/gotosocial:snapshot superseriousbusiness/gotosocial:snapshot-armv6 superseriousbusiness/gotosocial:snapshot-armv7 superseriousbusiness/gotosocial:snapshot-amd64 superseriousbusiness/gotosocial:snapshot-arm64v8
|
||||
- |
|
||||
docker manifest create superseriousbusiness/gotosocial:snapshot \
|
||||
superseriousbusiness/gotosocial:snapshot-amd64 \
|
||||
superseriousbusiness/gotosocial:snapshot-arm64v8
|
||||
- docker manifest push superseriousbusiness/gotosocial:snapshot
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-armv6-moderncsqlite
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-armv7-moderncsqlite
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-arm64v8-moderncsqlite
|
||||
- docker push superseriousbusiness/gotosocial:snapshot-amd64-moderncsqlite
|
||||
- docker manifest create superseriousbusiness/gotosocial:snapshot-moderncsqlite superseriousbusiness/gotosocial:snapshot-armv6-moderncsqlite superseriousbusiness/gotosocial:snapshot-armv7-moderncsqlite superseriousbusiness/gotosocial:snapshot-amd64-moderncsqlite superseriousbusiness/gotosocial:snapshot-arm64v8-moderncsqlite
|
||||
- docker manifest push superseriousbusiness/gotosocial:snapshot-moderncsqlite
|
||||
|
||||
# Publish binary .tar.gz snapshots to S3.
|
||||
- /go/snapshot_publish.sh
|
||||
|
|
@ -141,7 +136,7 @@ steps:
|
|||
- main
|
||||
|
||||
- name: release
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.7.0 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.8.0 # https://github.com/superseriousbusiness/gotosocial-drone-build
|
||||
volumes:
|
||||
- name: go-build-cache
|
||||
path: /root/.cache/go-build
|
||||
|
|
@ -210,7 +205,7 @@ clone:
|
|||
|
||||
steps:
|
||||
- name: mirror
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.7.0
|
||||
image: superseriousbusiness/gotosocial-drone-build:0.8.0
|
||||
environment:
|
||||
ORIGIN_REPO: https://github.com/superseriousbusiness/gotosocial
|
||||
TARGET_REPO: https://codeberg.org/superseriousbusiness/gotosocial
|
||||
|
|
@ -223,6 +218,6 @@ steps:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: c79f1c3b16db8da7e3b01b960021a583ec81069aff8afd4425f049dd140f0620
|
||||
hmac: 64ce0d466c7a48b6aa24a8836cfad7eae71faeae0b2e5342beb6428233a65eee
|
||||
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue