bangs/.drone.yml
Simon Bruder 03f9ef8574
All checks were successful
continuous-integration/drone/push Build is passing
add evaluator
2019-05-26 21:08:24 +00:00

32 lines
661 B
YAML

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