Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
14
.drone.yml
14
.drone.yml
@@ -6,8 +6,12 @@ platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build-amd64
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
environment:
|
||||
@@ -18,11 +22,14 @@ steps:
|
||||
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 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
|
||||
when:
|
||||
event:
|
||||
@@ -33,3 +40,6 @@ volumes:
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
- name: etcdocker
|
||||
host:
|
||||
path: /etc/docker
|
||||
Referencia en una nueva incidencia
Block a user