golang testing
This commit is contained in:
+10
-5
@@ -1,9 +1,14 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: Test
|
|
||||||
type: docker
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: say-hello
|
- name: test
|
||||||
image: busybox
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- echo Test
|
- go test
|
||||||
|
- go build
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: octocat/hello-world
|
||||||
|
tags: [ latest, 1.0, 1 ]
|
||||||
|
|||||||
Reference in New Issue
Block a user