2021-04-16 10:40:59 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2021-04-18 22:47:11 +02:00
|
|
|
name: build_lektor
|
2021-04-16 10:40:59 +02:00
|
|
|
|
|
|
|
steps:
|
2021-04-18 23:07:57 +02:00
|
|
|
- name: env
|
2021-04-18 22:51:27 +02:00
|
|
|
image: busybox
|
2021-04-18 23:07:57 +02:00
|
|
|
environment:
|
|
|
|
DOCKER_USERNAME:
|
|
|
|
from_secret: docker_username
|
|
|
|
DOCKER_PASSWORD:
|
|
|
|
from_secret: "{{ docker_password | sha256 }}"
|
2021-04-18 22:51:27 +02:00
|
|
|
commands:
|
2021-04-18 23:16:02 +02:00
|
|
|
- echo $${DOCKER_USERNAME}
|
|
|
|
- echo $${DOCKER_PASSWORD} | sha256sum
|
2021-04-16 10:40:59 +02:00
|
|
|
- name: build
|
2021-04-17 23:53:04 +02:00
|
|
|
image: plugins/docker
|
2021-04-17 23:56:47 +02:00
|
|
|
settings:
|
2021-04-18 22:34:58 +02:00
|
|
|
repo: registry.wtf-eg.net/lektor
|
|
|
|
username:
|
2021-04-18 22:37:10 +02:00
|
|
|
from_secret: docker_username
|
2021-04-18 22:34:58 +02:00
|
|
|
password:
|
2021-04-18 22:37:10 +02:00
|
|
|
from_secret: docker_password
|