All checks were successful
continuous-integration/drone/push Build is passing
- Add Dockerfile for containerized deployment - Add .drone.yml for CI/CD pipeline configuration - Add docker and docker-run targets to Makefile - Configure port 8080 binding and persistent volume mount
36 lines
605 B
YAML
36 lines
605 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
|
|
steps:
|
|
# Unit Tests
|
|
- name: tests
|
|
image: golang
|
|
commands:
|
|
- make tests
|
|
|
|
# Fetch Tags
|
|
- name: fetch tags
|
|
image: alpine/git
|
|
commands:
|
|
- git fetch --tags
|
|
|
|
# Publish Docker Image
|
|
- name: publish docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: gitea.va.reichard.io/evan/aethera
|
|
registry: gitea.va.reichard.io
|
|
tags:
|
|
- dev
|
|
custom_dns:
|
|
- 8.8.8.8
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|