From 4bcb7395fda3ef33ebf552cc3233839fdb09ff78 Mon Sep 17 00:00:00 2001 From: Alasan <249001660@qq.com> Date: Tue, 28 May 2024 08:43:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Alasan/simp-3.0/drone.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Alasan/simp-3.0/drone.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Alasan/simp-3.0/drone.yaml b/Alasan/simp-3.0/drone.yaml index e69de29..7e20de3 100644 --- a/Alasan/simp-3.0/drone.yaml +++ b/Alasan/simp-3.0/drone.yaml @@ -0,0 +1,30 @@ +kind: pipeline +type: docker +name: default +clone: + display: true + +steps: +- name: git pull + image: alpine/git + commands: + - git clone -b master http://119.91.37.71:3000/Alasan/simp-3.0.git + +- name: publish + image: plugins/docker + pull: if-not-exists + settings: + registry: 119.91.37.71:2080 + repo: 119.91.37.71:2080/alasan/simp-3.0 + insecure: true + use_cache: true + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest + +trigger: + branch: + - master \ No newline at end of file