.drone.yml
Algunas comprobaciones han fallado
continuous-integration/drone/push Build is failing

Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-07-20 21:23:24 +02:00
padre bfaab359eb
commit 8617339542

Ver fichero

@@ -6,8 +6,12 @@ platform:
os: linux os: linux
arch: arm64 arch: arm64
clone:
disable: true
steps: steps:
- name: build - name: build-amd64
image: docker:dind image: docker:dind
privileged: true privileged: true
environment: environment:
@@ -18,11 +22,14 @@ steps:
REGISTRY: REGISTRY:
from_secret: registry from_secret: registry
volumes: volumes:
- name: etcdocker
path: /etc/docker
- name: dockersock - name: dockersock
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- docker login -u $USER -p $PASS $REGISTRY - docker login -u $USER -p $PASS $REGISTRY
- docker buildx build -t $REGISTRY/fediblock-instance . - docker run --rm --privileged $REGISTRY/qemu-user-static --reset -p yes
- cd fediblock-instance && docker buildx build --platform amd64 -t $REGISTRY/fediblock-instance .
- docker push $REGISTRY/fediblock-instance - docker push $REGISTRY/fediblock-instance
when: when:
event: event:
@@ -33,3 +40,6 @@ volumes:
- name: dockersock - name: dockersock
host: host:
path: /var/run/docker.sock path: /var/run/docker.sock
- name: etcdocker
host:
path: /etc/docker