parent
5a89261e61
commit
9496cc4fb6
@ -1,10 +1,9 @@
|
|||||||
workspace:
|
kind: pipeline
|
||||||
base: /go
|
name: default
|
||||||
path: src/gogs.kikakika.com/lihongfeng/first
|
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
build:
|
- name: test
|
||||||
image: golang:1.10.2
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- go test
|
- go test
|
||||||
- go build
|
- go build
|
@ -0,0 +1,7 @@
|
|||||||
|
FROM cake233/go-alpine-arm64
|
||||||
|
|
||||||
|
WORKDIR "/app"
|
||||||
|
|
||||||
|
COPY main.go "/app/."
|
||||||
|
|
||||||
|
# ENTRYPOINT ["go run main.go"]
|
@ -0,0 +1,5 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: coc:0.1
|
||||||
|
container_name: coc
|
Loading…
Reference in new issue