package main

import (
	"fmt"
	"os"

	"github.com/sylphon/build-runner"
	"github.com/sylphon/build-runner/builderfile"
)

var example = &builderfile.UnitConfig{
	Version: 1,
	ContainerArr: []*builderfile.ContainerSection{
		&builderfile.ContainerSection{
			Name:       "app",
			Dockerfile: "Dockerfile",
			Registry:   "quay.io/rafecolton",
			Project:    "build-runner-test",
			Tags:       []string{"latest", "git:sha", "git:tag", "git:branch"},
			SkipPush:   true,
		},
	},
}

func main() {
	if err := runner.RunBuild(example, os.Getenv("GOPATH")+"/src/github.com/rafecolton/docker-builder"); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}

package main

import (
	"fmt"
	"os"

	"github.com/sylphon/build-runner"
	"github.com/sylphon/build-runner/unit-config"
)

var example = &unitconfig.UnitConfig{
	Version: 1,
	ContainerArr: []*unitconfig.ContainerSection{
		&unitconfig.ContainerSection{
			Name:       "app",
			Dockerfile: "Dockerfile",
			Registry:   "quay.io/rafecolton",
			Project:    "build-runner-test",
			Tags:       []string{"latest", "git:sha", "git:tag", "git:branch"},
			SkipPush:   true,
		},
	},
}

func main() {
	if err := runner.RunBuild(example, os.Getenv("GOPATH")+"/src/github.com/rafecolton/docker-builder"); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}

Update _example code to reflect package name changes
Update _example code to reflect package name changes
