From 00d1895acd5436cc218f84a4a688cf67c2823991 Mon Sep 17 00:00:00 2001 From: Christoph Honal Date: Thu, 13 Feb 2020 08:35:07 +0100 Subject: [PATCH] Syntax --- .drone.yml | 129 ++++++++++++++++++++++++++--------------------------- 1 file changed, 63 insertions(+), 66 deletions(-) diff --git a/.drone.yml b/.drone.yml index fdc5d6d..7cd9f9b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,67 +1,64 @@ -kind: pipeline -name: default +pipeline: + build-cli: + image: plugins/docker + group: build + 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' -steps: - - name: build-cli - image: plugins/docker - group: build - 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 - group: build - 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' \ No newline at end of file + build-gui: + image: plugins/docker + group: build + 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' \ No newline at end of file