AnthoLume/.drone.yml
Evan Reichard 75ed394f8d
All checks were successful
continuous-integration/drone/push Build is passing
tests(all): improve tests, refactor(api): saving books
2024-02-24 20:45:26 -05:00

30 lines
542 B
YAML

kind: pipeline
type: kubernetes
name: default
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/antholume
registry: gitea.va.reichard.io
tags:
- dev
username:
from_secret: docker_username
password:
from_secret: docker_password