From 8792c5262a034b20641b6f62def1cc099b633b25 Mon Sep 17 00:00:00 2001 From: log101 Date: Wed, 26 Feb 2025 19:48:42 +0000 Subject: [PATCH] Add .drone.yml --- .drone.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..107ad1c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +kind: pipeline +type: docker +name: Build and Push to Local Registry + +steps: + - name: Build and Push Docker Image + image: plugins/docker + settings: + # Custom registry address + registry: localhost:32000 + # Repository name (include registry address in repo path) + repo: localhost:32000/log101-dot-dev + # Tags for the image + tags: + - latest + - ${DRONE_COMMIT_SHA:0:7} + # Allow insecure connections (for HTTP registries) + insecure: true \ No newline at end of file