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:
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"]

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() {
fmt.Printf("hello world")
fmt.Println("hello world")
}
func hello() string {

Loading…
Cancel
Save