From d5f64fb7167d65e2da2a1e1ad2a34d0d1e974c22 Mon Sep 17 00:00:00 2001 From: Jochen Welzel Date: Fri, 23 Dec 2022 21:56:46 +0100 Subject: [PATCH] build multi-arch --- .drone.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 299a24c..4142e0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,8 +1,10 @@ --- kind: pipeline type: docker -name: default - +name: build_amd64 +platform: + os: linux + arch: amd64 steps: - name: push docker image image: plugins/docker @@ -17,3 +19,26 @@ volumes: - name: docker_sock host: path: /var/run/docker.sock + +--- +kind: pipeline +type: docker +name: build_amd64 +platform: + os: linux + arch: arm64 +steps: +- name: push docker image + image: plugins/docker + settings: + repo: j10l/nsd-docker + username: + from_secret: docker_username + password: + from_secret: docker_password + +volumes: +- name: docker_sock + host: + path: /var/run/docker.sock +