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: pipeline:
build: # build:
image: golang # image: golang
commands: # commands:
- go get p83.nl/go/ekster/... # - go get p83.nl/go/ekster/...
- go build p83.nl/go/ekster/cmd/eksterd # - go build p83.nl/go/ekster/cmd/eksterd
publish: publish:
image: plugins/docker image: plugins/docker
repo: registry.stuifzandapp.com/microsub-server repo: registry.stuifzandapp.com/microsub-server
registry: registry.stuifzandapp.com registry: registry.stuifzandapp.com
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
settings:
dockerfile: ./Dockerfile.alpine
deploy: deploy:
image: appleboy/drone-ssh 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)
}