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