Add .drone.yml
This commit is contained in:
parent
39daa26779
commit
8792c5262a
18
.drone.yml
Normal file
18
.drone.yml
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user