use buildx for multi-arch docker images
Some checks failed
continuous-integration/drone/push Build is failing

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 - mix test
- name: build and publish stable - name: build and publish stable
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
settings: settings:
repo: shibaobun/cannery repo: shibaobun/cannery
purge: true
compress: true
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
@ -45,9 +49,13 @@ steps:
- stable - stable
- name: build and publish tagged version - name: build and publish tagged version
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
settings: settings:
repo: shibaobun/cannery repo: shibaobun/cannery
purge: true
compress: true
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
username: username:
from_secret: docker_username from_secret: docker_username
password: password: