Files
fediblock-instance/.drone.yml
ale 21fdf56083
Algunas comprobaciones han fallado
continuous-integration/drone/push Build is failing
.drone.yml
Signed-off-by: ale <ale@manalejandro.com>
2025-07-20 21:25:37 +02:00

46 líneas
929 B
YAML

kind: pipeline
name: code-build-linux-amd64
type: docker
platform:
os: linux
arch: arm64
clone:
disable: true
steps:
- name: build-amd64
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
- docker run --rm --privileged $REGISTRY/qemu-user-static --reset -p yes
- git clone --recursive https://git.manalejandro.com/ale/fediblock-instance .
- cd fediblock-instance && docker buildx build --platform amd64 -t $REGISTRY/fediblock-instance .
- docker push $REGISTRY/fediblock-instance
when:
event:
- push
- tag
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: etcdocker
host:
path: /etc/docker