From 9e1e9b2435906e9071508473da2c2e0460436f26 Mon Sep 17 00:00:00 2001 From: Alasan <249001660@qq.com> Date: Wed, 29 May 2024 17:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Alasan/location/drone.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Alasan/location/drone.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Alasan/location/drone.yaml b/Alasan/location/drone.yaml index e69de29..c327aba 100644 --- a/Alasan/location/drone.yaml +++ b/Alasan/location/drone.yaml @@ -0,0 +1,28 @@ +kind: pipeline +type: docker +name: default +clone: + display: false +steps: +- name: git pull + image: alpine/git + commands: + - git clone -b http://119.91.37.71:3000/Alasan/location.git +- name: publish + image: plugins/docker + pull: if-not-exists + settings: + registry: 119.91.37.71:2080 + repo: 119.91.37.71:2080/alasan/location-master + 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