From 81b68ba4af041753e0e0e6a33be1e177ef26eddd Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 30 Jul 2022 15:11:47 -0400 Subject: [PATCH] use buildx for multi-arch docker images --- .drone.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4737424..6aaf045 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,9 +32,13 @@ steps: - mix test - name: build and publish stable - image: plugins/docker + image: thegeeklab/drone-docker-buildx + privileged: true settings: repo: shibaobun/cannery + purge: true + compress: true + platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 username: from_secret: docker_username password: @@ -45,9 +49,13 @@ steps: - stable - name: build and publish tagged version - image: plugins/docker + image: thegeeklab/drone-docker-buildx + privileged: true settings: repo: shibaobun/cannery + purge: true + compress: true + platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 username: from_secret: docker_username password: