From 86173395422fe142486a2e0c8ba333a2e9646235 Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 20 Jul 2025 21:23:24 +0200 Subject: [PATCH] .drone.yml Signed-off-by: ale --- .drone.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8a8e013..3ed9ab8 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file