When running bob push and the image has an inexistent registry Docker retries it several times:
docker push inexistent-repo/image:tag
The push refers to repository [inexistent-repo/image:tag]
64ed87b762b2: Retrying in 1 second
2c0fb72ca8a6: Retrying in 1 second
2177fb7bef02: Retrying in 1 second
3759e3bc07e3: Retrying in 1 second
81b311630260: Retrying in 1 second
c85c09c7fd7c: Waiting
27f852d51452: Waiting
bb6f8ace7cb4: Waiting
36ffdceb4c77: Waiting
EOF
As you can see, at the end it just prints an EOF. Since our build considers only what's returned in the last line, we should improve the log when this happens.
Maybe something like
if lastLine == "EOF" {
log(better message)
}
When running
bob pushand the image has an inexistent registry Docker retries it several times:As you can see, at the end it just prints an EOF. Since our build considers only what's returned in the last line, we should improve the log when this happens.
Maybe something like