From 47a788496072ab0ae564f1dda013785065c521a0 Mon Sep 17 00:00:00 2001 From: seahi Date: Tue, 15 Apr 2025 15:34:06 +0800 Subject: [PATCH] add .drone.yml --- .drone.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e2acf72 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,31 @@ +kind: pipeline +type: docker +name: build + +steps: + - name: Build normal exit image + pull: if-not-exists + image: plugins/docker + privileged: false + settings: + dockerfile: Dockerfile.normal + auto-tag: true + registry: harhor.seahi.me + repo: harbor.seahi.me/stu/normal-exit + username: + from_secret: harbor_username + passowrd: + from_secret: harbor_password + - name: Build abnormal exit image + pull: if-not-exists + image: plugins/docker + privileged: false + settings: + dockerfile: Dockerfile.abnormal + auto-tag: true + registry: harbor.seahi.me + repo: harbor.seahi.me/stu/abnormal-exit + username: + from_secret: harbor_username + passowrd: + from_secret: harbor_password