github.com/daniellockard/packer@v0.7.6-0.20141210173435-5a9390934716/plugin/post-processor-docker-push/main.go (about) 1 package main 2 3 import ( 4 "github.com/mitchellh/packer/packer/plugin" 5 "github.com/mitchellh/packer/post-processor/docker-push" 6 ) 7 8 func main() { 9 server, err := plugin.Server() 10 if err != nil { 11 panic(err) 12 } 13 server.RegisterPostProcessor(new(dockerpush.PostProcessor)) 14 server.Serve() 15 }