diff --git a/.drone.yml b/.drone.yml index 6e3fe1d..c9adf05 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,9 +7,19 @@ trigger: - push steps: + - name: key-setup + image: ubuntu:latest + commands: + - mkdir key + - echo "$NGINX_KEY" > key/id_rsa - name: docker-build image: plugins/docker + depends_on: + - key-setup + commands: + - ls + - exit 1 settings: dockerfile: Dockerfile context: .