diff --git a/.drone.yml b/.drone.yml index 4a5a098..f10296e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,9 @@ trigger: steps: - name: key-setup image: ubuntu:latest + environment: + NGINX_KEY: + from_secret: NGINX_KEY commands: - echo "$NGINX_KEY" > id_rsa @@ -16,8 +19,6 @@ steps: image: plugins/docker depends_on: - key-setup - commands: - - ls settings: dockerfile: Dockerfile context: .