build multi-arch
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
76e420f794
commit
d5f64fb716
29
.drone.yml
29
.drone.yml
@ -1,8 +1,10 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: build_amd64
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
steps:
|
steps:
|
||||||
- name: push docker image
|
- name: push docker image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -17,3 +19,26 @@ volumes:
|
|||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
host:
|
host:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build_amd64
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
steps:
|
||||||
|
- name: push docker image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: j10l/nsd-docker
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user