use buildx for multi-arch docker images

This commit is contained in:
shibao 2022-07-30 15:11:47 -04:00
parent b6e0a543ec
commit 81b68ba4af

View File

@ -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: