update
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

main
zggsong 2 years ago
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"]

BIN
app

Binary file not shown.

@ -0,0 +1,5 @@
version: '3'
services:
server:
image: coc:0.1
container_name: coc

@ -5,7 +5,7 @@ import (
) )
func main() { func main() {
fmt.Printf("hello world") fmt.Println("hello world")
} }
func hello() string { func hello() string {

Loading…
Cancel
Save