From ebe227505377eb705e05cd2a9f1dace844de2955 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Tue, 27 Dec 2022 01:00:22 +0900 Subject: [PATCH] add env file --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index bec2c1f..6adfbe6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,11 @@ steps: - name: docker_sock path: /var/run/docker.sock commands: + - echo -n "$${ENV}" > .env - docker compose up --detach + environment: + ENV: + from_secret: ENV volumes: - name: docker_sock host: