2014-01-01 23:29:53 -05:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
2014-01-02 01:30:28 -05:00
|
|
|
"github.com/mitchellh/packer/post-processor/docker-push"
|
2014-01-01 23:29:53 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
server, err := plugin.Server()
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
2014-01-02 01:30:28 -05:00
|
|
|
server.RegisterPostProcessor(new(dockerpush.PostProcessor))
|
2014-01-01 23:29:53 -05:00
|
|
|
server.Serve()
|
|
|
|
}
|