Commit Graph

4 Commits

Author SHA1 Message Date
James Westby 9eea538c29 Tag other registries in push
Previously we were tagging for all registries as we built
the images and then pushing all registries blindly.

Now if an image hasn't changed it wouldn't tag with the other
registry tags, and then the push would fail as the gcr/quay
tags didn't exist.

Rather than taking care to tag in the case where the image
hasn't changed, instead change the pushall script to
only assume that `bitnami/minideb` tags are correct, and
tag the other registries based on that one before pushing.

This ensures that the tags will always exist, and also makes
sure we are pushing the same image to each registry (excluding
race conditions.)
2019-10-07 11:31:21 +01:00
James Westby 6309b17069 Add shellcheck to catch bad shell code 2019-10-04 16:01:31 +01:00
James Westby c6b8578e09 [buildone] fix mistaken use of continue
When I moved this code in to its own script, I moved it
out of a loop, so we can no longer `continue` and should
`return` instead.
2019-10-04 15:02:38 +01:00
James Westby 4881871bd0 Split out a buildone script
This makes it easier to test all the code around the building
of an image as you can just build one image.
2019-09-27 13:27:54 +02:00