chainetv_web/.drone.yml

72 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2022-05-10 08:38:59 +00:00
---
kind: pipeline
name: build_amd64
platform:
os: linux
arch: amd64
steps:
- name: docker
image: plugins/docker
settings:
repo: ducampsv/chainetv
auto_tag: "true"
auto_tag_suffix: amd64
username:
from_secret: docker_username
password:
from_secret: docker_password
2022-05-15 19:15:25 +00:00
---
kind: pipeline
name: build_arm
platform:
os: linux
arch: arm
2022-05-10 08:38:59 +00:00
2022-05-15 19:15:25 +00:00
steps:
- name: docker
image: plugins/docker
settings:
repo: ducampsv/chainetv
auto_tag: "true"
auto_tag_suffix: arm
username:
from_secret: docker_username
password:
from_secret: docker_password
2022-05-10 08:38:59 +00:00
---
kind: pipeline
type: docker
name: manifest
steps:
- name: manifest
image: plugins/manifest
settings:
auto_tag: "true"
2022-05-10 09:13:19 +00:00
target: ducampsv/chainetv:latest
template: ducampsv/chainetv:ARCH
2022-05-10 08:38:59 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
platforms:
- linux/amd64
- linux/arm
depends_on:
- build_amd64
2022-05-15 19:15:25 +00:00
- build_arm
2022-12-04 08:56:14 +00:00
---
kind: secret
name: docker_username
get:
path: secrets/data/droneci/dockerHub
name: username
---
kind: secret
name: docker_password
get:
path: secrets/data/droneci/dockerHub
name: password