From 4f55bf03b6729d3a1da03f51e0b3e4f610661f58 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 6 Jan 2022 20:25:52 +0100 Subject: [PATCH] Add secrets --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index bd69b8d..af3bf65 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,6 +21,13 @@ steps: - ssh-keyscan github.com > /root/.ssh/known_hosts - ssh-keyscan git.c0ntroller.de >> /root/.ssh/known_hosts - git submodule update --init --recursive +- name: secrets + image: alpine + environment: + SECRETS_JSON: + from_secret: secrets_json + commands: + - echo "$${SECRETS_JSON}" > secrets.json - name: build-image image: plugins/docker settings: