oapi-type-definitions-extra.../.drone.yml

29 lines
589 B
YAML
Raw Permalink Normal View History

2023-01-12 13:49:16 +00:00
---
kind: pipeline
type: docker
name: default
steps:
- name: "lint"
image: golangci/golangci-lint:v1.50
pull: if-not-exists
commands:
2023-01-12 14:35:06 +00:00
- cd src
2023-01-12 13:49:16 +00:00
- golangci-lint run
- name: "build and publish docker image"
image: plugins/docker
2023-06-07 07:45:34 +00:00
pull: if-not-exists
2023-01-12 13:49:16 +00:00
settings:
registry: gitea.linuxcode.net
2023-06-07 07:47:49 +00:00
repo: gitea.linuxcode.net/linuxcode/oapi-type-definitions-extractor
2023-06-07 07:55:51 +00:00
auto_tag: true
2023-01-12 13:49:16 +00:00
dockerfile: dockerfile
2023-06-07 07:55:51 +00:00
tags:
- latest
- ${DRONE_TAG}
2023-01-12 13:49:16 +00:00
username:
from_secret: drone_docker_username
password:
2023-01-12 13:58:33 +00:00
from_secret: drone_docker_password
2023-06-07 07:55:51 +00:00