(cmd string)
| 47 | } |
| 48 | |
| 49 | func pull(cmd string) { |
| 50 | log.Println(cmd) |
| 51 | command := exec.Command("bash", "-c", "docker pull "+cmd) |
| 52 | command.Stdout = os.Stdout |
| 53 | command.Stderr = os.Stderr |
| 54 | e := command.Run() |
| 55 | if e != nil { |
| 56 | panic(e) |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | func tag(cmd string) { |
| 61 | log.Println(cmd) |