46 lines
724 B
YAML
46 lines
724 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: deploy
|
|
|
|
steps:
|
|
|
|
- name: build alpine
|
|
image: git.burble.dn42/burble.dn42/bird-build:alpine
|
|
environment:
|
|
TOKEN:
|
|
from_secret: TOKEN
|
|
commands:
|
|
- /build.sh
|
|
|
|
- name: build ubuntu
|
|
image: git.burble.dn42/burble.dn42/bird-build:ubuntu
|
|
environment:
|
|
TOKEN:
|
|
from_secret: TOKEN
|
|
commands:
|
|
- /build.sh
|
|
|
|
image_pull_secrets:
|
|
- CONFIG_JSON
|
|
|
|
---
|
|
kind: secret
|
|
name: CONFIG_JSON
|
|
get:
|
|
path: burble.dn42/kv/data/drone/docker
|
|
name: configjson
|
|
|
|
---
|
|
kind: secret
|
|
name: TOKEN
|
|
get:
|
|
path: burble.dn42/kv/data/drone/git.burble.dn42
|
|
name: artifact-token
|
|
|
|
---
|
|
kind: signature
|
|
hmac: 2528ce17e9c1ca4202b835926bd511d6ded093cab0776573b0b6e7197fa1dd82
|
|
|
|
...
|