You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
395 B
21 lines
395 B
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
steps:
|
|
- name: test
|
|
image: golang:1.12
|
|
commands:
|
|
- go test
|
|
- ls
|
|
- name: build
|
|
image: golang:1.12
|
|
commands:
|
|
- go build
|
|
- ls
|
|
- name: publish
|
|
image: plugins/docker
|
|
settings:
|
|
registry: 172.20.32.1:5000
|
|
repo: 172.20.32.1:5000/go/hello-world
|
|
insecure: true
|
|
tags: [ 1, 1.2, latest ] |