add drone dual 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
954afd3e6e
commit
6272c73489
48
.drone.yml
48
.drone.yml
@ -2,12 +2,16 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: build-drone-nsd-zones-docker
|
name: build-drone-nsd-zones-docker
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: push docker image
|
- name: push docker image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: j10l/drone-nsd-zones
|
repo: j10l/drone-nsd-zones
|
||||||
|
tags: latest-amd64
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
@ -16,3 +20,47 @@ 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-drone-nsd-zones-docker
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: push docker image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: j10l/drone-nsd-zones
|
||||||
|
tags: latest-arm64
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: upload_manifest
|
||||||
|
steps:
|
||||||
|
- name: upload_manifest
|
||||||
|
image: plugins/manifest
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
target: j10l/drone-nsd-zones:latest
|
||||||
|
template: j10l/drone-nsd-zones:latest-ARCH
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
|
depends_on:
|
||||||
|
- build_amd64
|
||||||
|
- build_arm64
|
||||||
|
Loading…
Reference in New Issue
Block a user