periodicator/.drone.yml

25 lines
527 B
YAML
Raw Permalink Normal View History

2021-11-20 03:19:51 +05:00
---
kind: pipeline
type: docker
name: build
steps:
- name: lint
image: code.pztrn.name/containers/mirror/golangci/golangci-lint:v1.46.2
2021-11-20 03:19:51 +05:00
environment:
CGO_ENABLED: 0
commands:
- golangci-lint run
- name: docker
image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0
2021-11-20 03:19:51 +05:00
when:
branch: ["master"]
2021-11-20 03:19:51 +05:00
settings:
registry: code.pztrn.name
username: drone
2021-11-20 03:19:51 +05:00
password:
from_secret: drone_secret
repo: code.pztrn.name/apps/periodicator
2021-11-20 03:19:51 +05:00
auto_tag: true