You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
706 B

pipeline:
buildonly:
image: golang
commands:
# - go get
# ^^ go get: no install location for directory /drone/src outside GOPATH
- go get -v github.com/sirupsen/logrus
- go get -v github.com/mailgun/mailgun-go
- go build .
- go test .
publish:
when:
branch:
- master
event:
exclude:
- pull_request
image: plugins/ecr
registry: 406693032655.dkr.ecr.us-east-1.amazonaws.com
repo: 406693032655.dkr.ecr.us-east-1.amazonaws.com/code-infection/idlerpg-checker
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
tags:
- 1.0.1
- latest