Use Dockerfile.alpine
Some checks failed
the build failed

This commit is contained in:
Peter Stuifzand 2018-12-16 21:59:26 +01:00
parent 9e5601f979
commit 0e85cae03d
Signed by: peter
GPG Key ID: 374322D56E5209E8
2 changed files with 7 additions and 18 deletions

View File

@ -1,15 +1,17 @@
pipeline:
build:
image: golang
commands:
- go get p83.nl/go/ekster/...
- go build p83.nl/go/ekster/cmd/eksterd
# build:
# image: golang
# commands:
# - go get p83.nl/go/ekster/...
# - go build p83.nl/go/ekster/cmd/eksterd
publish:
image: plugins/docker
repo: registry.stuifzandapp.com/microsub-server
registry: registry.stuifzandapp.com
secrets: [ docker_username, docker_password ]
settings:
dockerfile: ./Dockerfile.alpine
deploy:
image: appleboy/drone-ssh

View File

@ -1,13 +0,0 @@
package microsub
import (
"encoding/json"
"fmt"
"testing"
)
func TestJson(t *testing.T) {
item := Item{Type: "entry"}
result, err := json.Marshal(item)
fmt.Println(string(result), err)
}