karalabe / xgo

Go CGO cross compiler
MIT License
2.14k stars 280 forks source link

Use one docker repository with tags #171

Closed anjmao closed 5 years ago

anjmao commented 5 years ago

Hi, I noticed that you are using separate docker repository for each go version. Why not just use one repository with docker image tags?

Then this code need to be fixed as it doesn't check for docker tags https://github.com/karalabe/xgo/blob/master/xgo.go#L218 To check for correct image with tag you can use docker images --format '{{.Repository}}:{{.Tag}}' when comparing strings.