parent
5a89261e61
commit
9496cc4fb6
@ -1,10 +1,9 @@
|
||||
workspace:
|
||||
base: /go
|
||||
path: src/gogs.kikakika.com/lihongfeng/first
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
pipeline:
|
||||
build:
|
||||
image: golang:1.10.2
|
||||
commands:
|
||||
- go test
|
||||
- go build
|
||||
steps:
|
||||
- name: test
|
||||
image: golang
|
||||
commands:
|
||||
- go test
|
||||
- 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