You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
481 B
YAML
24 lines
481 B
YAML
pipeline:
|
|
build:
|
|
image: ${IMAGE}
|
|
commands:
|
|
- go build
|
|
- go test
|
|
|
|
ecr:
|
|
image: plugins/drone-ecr
|
|
secret_key: ${ECR_SECRET_KEY}
|
|
access_key: ${ECR_ACCESS_KEY}
|
|
region: us-east-1
|
|
repo: 995121555896.dkr.ecr.us-east-1.amazonaws.com/cloudlock/test-sit-ci-built-svc
|
|
dockerfile: ./Dockerfile
|
|
context: .
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
matrix:
|
|
IMAGE:
|
|
# - golang:1.7
|
|
# - golang:1.8
|
|
- golang:latest
|