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
|
- 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user