From 7c0754a70c0e008324bd1590c30d2aca67a271b7 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sun, 7 Mar 2021 16:07:55 +0000 Subject: [PATCH] fix buildrone env --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index 581e5be..fa728ca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,6 +40,9 @@ steps: volumes: - name: ssh_key path: /root/drone_rsa + environment: + BUILDRONE_KEY: + from_secret: BUILDRONE_KEY settings: host: from_secret: ssh2_host @@ -55,6 +58,7 @@ steps: - BUILDRONE_KEY script: - /mnt/buildx/jfa-go/build.sh stable + - rm -f upload.py - wget https://builds.hrfee.pw/upload.py - pip3 install requests - bash -c 'python3 upload.py https://builds.hrfee.pw hrfee jfa-go --tag docker-stable=true' @@ -107,6 +111,9 @@ steps: volumes: - name: ssh_key path: /root/drone_rsa + environment: + BUILDRONE_KEY: + from_secret: BUILDRONE_KEY settings: host: from_secret: ssh2_host