log101-dot-dev/.drone.yml
2025-02-26 19:48:42 +00:00

18 lines
491 B
YAML

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