golang testing

This commit is contained in:
2022-10-15 21:54:22 +02:00
parent e556c12c41
commit f409dda628
+11 -6
View File
@@ -1,9 +1,14 @@
kind: pipeline
name: Test
type: docker
steps:
- name: say-hello
image: busybox
commands:
- echo Test
- name: test
image: golang
commands:
- go test
- go build
- name: publish
image: plugins/docker
settings:
repo: octocat/hello-world
tags: [ latest, 1.0, 1 ]