2019-05-26 17:29:43 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: mikefarah/yq
|
|
|
|
commands:
|
|
|
|
- yq r -j bangs.yml > bangs.json
|
|
|
|
|
|
|
|
- name: upload
|
|
|
|
image: plugins/s3
|
|
|
|
settings:
|
|
|
|
bucket: cdn
|
|
|
|
access_key:
|
|
|
|
from_secret: aws_access_key_id
|
|
|
|
secret_key:
|
|
|
|
from_secret: aws_secret_access_key
|
|
|
|
source: bangs.json
|
|
|
|
target: /bangs/
|
|
|
|
path_style: true
|
|
|
|
endpoint: https://s3.sbruder.de
|
2019-05-26 22:36:46 +02:00
|
|
|
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
registry: r.sbruder.de
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: r.sbruder.de/bang-evaluator
|