Add ci config
This commit is contained in:
parent
9f711f1467
commit
57d670d74b
66
.drone.yml
Normal file
66
.drone.yml
Normal file
@ -0,0 +1,66 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
|
||||
- name: build-cli
|
||||
image: plugins/docker
|
||||
environment:
|
||||
PROP_SERVER_USER:
|
||||
from_secret: prop_server_user
|
||||
PROP_SERVER_KEY:
|
||||
from_secret: prop_server_key
|
||||
PROP_SERVER:
|
||||
from_secret: prop_server
|
||||
PROP_DIR_SDR:
|
||||
from_secret: prop_dir_sdr
|
||||
PROP_DIR_DECODER:
|
||||
from_secret: prop_dir_decoder
|
||||
- UI_MODE=cli
|
||||
settings:
|
||||
build_args_from_env:
|
||||
- PROP_SERVER
|
||||
- PROP_DIR_SDR
|
||||
- PROP_DIR_DECODER
|
||||
- PROP_SERVER_USER
|
||||
- PROP_SERVER_KEY
|
||||
- UI_MODE
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: registry.chrz.de:443/move2docker
|
||||
registry: registry.chrz.de:443
|
||||
tags:
|
||||
- 'cli-x86_64'
|
||||
|
||||
- name: build-gui
|
||||
image: plugins/docker
|
||||
environment:
|
||||
PROP_SERVER_USER:
|
||||
from_secret: prop_server_user
|
||||
PROP_SERVER_KEY:
|
||||
from_secret: prop_server_key
|
||||
PROP_SERVER:
|
||||
from_secret: prop_server
|
||||
PROP_DIR_SDR:
|
||||
from_secret: prop_dir_sdr
|
||||
PROP_DIR_DECODER:
|
||||
from_secret: prop_dir_decoder
|
||||
- UI_MODE=gui
|
||||
settings:
|
||||
build_args_from_env:
|
||||
- PROP_SERVER
|
||||
- PROP_DIR_SDR
|
||||
- PROP_DIR_DECODER
|
||||
- PROP_SERVER_USER
|
||||
- PROP_SERVER_KEY
|
||||
- UI_MODE
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: registry.chrz.de:443/move2docker
|
||||
registry: registry.chrz.de:443
|
||||
tags:
|
||||
- 'gui-x86_64'
|
Loading…
Reference in New Issue
Block a user