33 lines
730 B
YAML
33 lines
730 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build_lektor
|
|
|
|
steps:
|
|
- name: env
|
|
image: docker:dind
|
|
environment:
|
|
DOCKER_USERNAME:
|
|
from_secret: "docker_username"
|
|
DOCKER_PASSWORD:
|
|
from_secret: "docker_password"
|
|
commands:
|
|
- env
|
|
- nslookup registry.wtf-eg.net/
|
|
- name: build
|
|
image: plugins/docker
|
|
settings:
|
|
repo: registry.wtf-eg.net/lektor
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
---
|
|
kind: secret
|
|
name: docker_username
|
|
data: 9cqHazxZJfr8E9+OO3JxSPtaE4dWgV9zyQtHkM6RWmZH
|
|
---
|
|
kind: secret
|
|
name: docker_password
|
|
data: YtT61Eb7iEizd6BTWBU5qaNv/K187KQ5ebK6QrUdZMvZYHEzLSzxfgw4ihGhBQVlukQ8llMGycviC74g/eMQkxY9zZo=
|