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
475 B
YAML

pipeline:
build:
image: ${IMAGE}
commands:
- go build
- go test
ecr:
image: plugins/ecr
region: us-east-1
access_key: ${ECR_ACCESS_KEY}
secret_key: ${ECR_SECRET_KEY}
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