27 lines
575 B
YAML
27 lines
575 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build_lektor
|
|
|
|
steps:
|
|
- name: env
|
|
image: busybox
|
|
secrets: [ docker_username, docker_password ]
|
|
environment:
|
|
DOCKER_USERNAME:
|
|
from_secret: "docker_username"
|
|
DOCKER_PASSWORD:
|
|
from_secret: "docker_password"
|
|
commands:
|
|
- echo ${DOCKER_USERNAME}
|
|
- echo ${DOCKER_PASSWORD} | sha256sum
|
|
- name: build
|
|
image: plugins/docker
|
|
settings:
|
|
repo: registry.wtf-eg.net/lektor
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
|