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.
22 lines
370 B
YAML
22 lines
370 B
YAML
pipeline:
|
|
build:
|
|
image: ${IMAGE}
|
|
commands:
|
|
- go build
|
|
|
|
test:
|
|
image: ${IMAGE}
|
|
commands:
|
|
- go test
|
|
|
|
publish:
|
|
image: plugins/docker
|
|
repo: josebarn/hello-world
|
|
tags: [ 1.0.0, 1.0, latest ]
|
|
dockerfile: ./docker/Dockerfile
|
|
secrets: [ docker_username, docker_password ]
|
|
debug: true
|
|
matrix:
|
|
IMAGE:
|
|
- golang:latest
|