21 lines
296 B
YAML
21 lines
296 B
YAML
|
type: docker
|
||
|
kind: pipeline
|
||
|
name: unit
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go test
|
||
|
- go build
|
||
|
|
||
|
- name: publish
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
username:
|
||
|
from_secret: docker-user
|
||
|
password:
|
||
|
from_secret: docker-pw
|
||
|
repo:
|
||
|
from_secret: docker-repo
|