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.
23 lines
466 B
YAML
23 lines
466 B
YAML
pipeline:
|
|
build:
|
|
image: ${IMAGE}
|
|
commands:
|
|
- go build
|
|
- go test
|
|
|
|
ecr:
|
|
image: plugins/ecr
|
|
region: us-east-1
|
|
secrets: [ ECR_ACCESS_KEY,ECR_SECRET_KEY, ACCOUNT_ID ]
|
|
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
|