AnthoLume/.drone.yml

30 lines
542 B
YAML
Raw Permalink Normal View History

2023-10-24 00:33:56 +00:00
kind: pipeline
type: kubernetes
name: default
steps:
2023-10-24 11:39:37 +00:00
# Unit Tests
- name: tests
2023-10-24 00:33:56 +00:00
image: golang
commands:
- make tests
2023-10-24 11:39:37 +00:00
2024-01-20 20:28:53 +00:00
# Fetch tags
- name: fetch tags
image: alpine/git
commands:
- git fetch --tags
# Publish docker image
- name: publish docker
2023-10-24 11:39:37 +00:00
image: plugins/docker
settings:
2023-11-04 23:40:32 +00:00
repo: gitea.va.reichard.io/evan/antholume
2023-10-24 11:39:37 +00:00
registry: gitea.va.reichard.io
tags:
- dev
username:
from_secret: docker_username
password:
from_secret: docker_password