pipeline: build: image: ${IMAGE} commands: - go build - go test ecr: image: plugins/ecr secret_key: ${secret_key} access_key: ${access_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