forked from shibao/cannery
use buildx for multi-arch docker images
This commit is contained in:
parent
b6e0a543ec
commit
81b68ba4af
12
.drone.yml
12
.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:
|
||||
|
Loading…
Reference in New Issue
Block a user