You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
837 B

---
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