From 80a0c3f753b04dc388a7173b7b30e739ddc0ad95 Mon Sep 17 00:00:00 2001 From: Christoph Honal Date: Thu, 13 Feb 2020 08:45:29 +0100 Subject: [PATCH] Fix --- .drone.yml | 49 ++++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/.drone.yml b/.drone.yml index 58d7e27..cc7baa6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,24 +1,21 @@ -anchors: - - &anchor_env - 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 - ---- kind: pipeline -name: build-cli +name: default + steps: - - name: build + - name: build-cli image: plugins/docker + environment: - <<: *anchor_env + 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: @@ -36,14 +33,20 @@ steps: registry: registry.chrz.de:443 tags: - 'cli-x86_64' ---- -kind: pipeline -name: build-gui -steps: - - name: build + + - name: build-gui image: plugins/docker environment: - <<: *anchor_env + 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: