From 9e0847fcaea221780e72f7cf754c4c2698f8419b Mon Sep 17 00:00:00 2001 From: zjgcjy Date: Fri, 20 Sep 2024 00:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.drone.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5e81438 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,17 @@ +workspace: + base: /srv/drone-demo + path: . + +pipeline: + build: + image: golang:alpine + # pull: true + environment: + - KEY=VALUE + secrets: [key1, key2] + commands: + - echo $$KEY + - pwd + - ls + - go build -o app . + - ./app \ No newline at end of file