18 lines
376 B
YAML
18 lines
376 B
YAML
steps:
|
|
- name: build
|
|
image: golang:1.21.6
|
|
commands:
|
|
- go mod download
|
|
- go build -o md-view-go
|
|
|
|
- name: docker
|
|
image: plugins/docker:20.17.3
|
|
settings:
|
|
repo: omv.lll.net:5000/lianglianglee/md-view-go
|
|
registry: omv.lll.net:5000
|
|
insecure: true
|
|
tags:
|
|
- latest
|
|
- master
|
|
- ${CI_PREV_PIPELINE_CREATED}
|