docker-bird-build/.drone.yml
Simon Marsh f657125f6e
Some checks failed
continuous-integration/drone Build is failing
change repo
2022-04-30 10:04:38 +01:00

47 lines
837 B
YAML

---
kind: pipeline
type: docker
name: docker-build
steps:
- name: docker alpine
image: plugins/docker
settings:
registry: jcr.burble.dn42
repo: jcr.burble.dn42/bdn42-docker/bird-build
tags:
- alpine
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW
dockerfile: Dockerfile.alpine
- name: docker ubuntu
image: plugins/docker
settings:
registry: jcr.burble.dn42
repo: jcr.burble.dn42/bdn42-docker/bird-build
tags:
- ubuntu
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW
dockerfile: Dockerfile.ubuntu
---
kind: secret
name: DOCKER_USER
get:
path: burble.dn42/kv/data/drone/docker
name: username
---
kind: secret
name: DOCKER_PW
get:
path: burble.dn42/kv/data/drone/docker
name: password