Comparar commits
2 Commits
74e076b70f
...
6a66358d4c
| Autor | SHA1 | Fecha | |
|---|---|---|---|
|
6a66358d4c
|
|||
|
da0c6a6497
|
31
.drone.yml
31
.drone.yml
@@ -1,5 +1,5 @@
|
||||
kind: pipeline
|
||||
name: code-build-linux-amd64
|
||||
name: code-build-linux-arm64-amd64
|
||||
type: docker
|
||||
|
||||
platform:
|
||||
@@ -9,8 +9,32 @@ platform:
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
|
||||
steps:
|
||||
- name: build-arm64
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
environment:
|
||||
USER:
|
||||
from_secret: user
|
||||
PASS:
|
||||
from_secret: pass
|
||||
REGISTRY:
|
||||
from_secret: registry
|
||||
volumes:
|
||||
- name: etcdocker
|
||||
path: /etc/docker
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker login -u $USER -p $PASS $REGISTRY
|
||||
- git clone https://git.manalejandro.com/ale/fediblock-instance .
|
||||
- docker buildx build --platform arm64 -t $REGISTRY/fediblock-instance:arm64 .
|
||||
- docker push $REGISTRY/fediblock-instance:arm64
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
|
||||
- name: build-amd64
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
@@ -29,8 +53,9 @@ steps:
|
||||
commands:
|
||||
- docker login -u $USER -p $PASS $REGISTRY
|
||||
- docker run --rm --privileged $REGISTRY/qemu-user-static --reset -p yes
|
||||
- git clone --recursive https://git.manalejandro.com/ale/fediblock-instance .
|
||||
- docker buildx build --platform amd64 -t $REGISTRY/fediblock-instance .
|
||||
- docker tag $REGISTRY/fediblock-instance $REGISTRY/fediblock-instance:amd64
|
||||
- docker push $REGISTRY/fediblock-instance:amd64
|
||||
- docker push $REGISTRY/fediblock-instance
|
||||
when:
|
||||
event:
|
||||
|
||||
@@ -15,17 +15,17 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@elastic/elasticsearch": "^8.17.1",
|
||||
"@elastic/elasticsearch": "^8.18.2",
|
||||
"@peertube/http-signature": "^1.7.0",
|
||||
"@supercharge/promise-pool": "^3.2.0",
|
||||
"@types/morgan": "^1.9.9",
|
||||
"@types/morgan": "^1.9.10",
|
||||
"activitypub-express": "^4.4.2",
|
||||
"express": "^4.21.2",
|
||||
"express-async-handler": "^1.2.0",
|
||||
"express-rate-limit": "^7.5.0",
|
||||
"express-rate-limit": "^7.5.1",
|
||||
"express-validator": "^7.2.1",
|
||||
"mongodb": "^4.17.2",
|
||||
"morgan": "^1.10.0",
|
||||
"morgan": "^1.10.1",
|
||||
"node-schedule": "^2.1.1",
|
||||
"rotating-file-stream": "^3.2.6",
|
||||
"stream-json": "^1.9.1",
|
||||
|
||||
Referencia en una nueva incidencia
Block a user