ssl-certs-checker/.drone.yml

46 lines
717 B
YAML
Raw Normal View History

2021-11-07 18:01:18 +00:00
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
- name: test
2022-12-10 18:54:52 +00:00
image: public.ecr.aws/docker/library/golang:1.19-alpine3.17
2021-11-07 18:01:18 +00:00
commands:
- go version
- go fmt ./...
# - go vet ./...
- name: docker-build-dry-run
image: plugins/docker
settings:
repo: guessi/ssl-certs-checker
dry_run: true
auto_tag: true
when:
event:
include:
- pull_request
- name: docker-build
image: plugins/docker
settings:
repo: guessi/ssl-certs-checker
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
when:
branch:
- master
event:
exclude:
- pull_request
...