News for hackers. Stuff that matters.
Re:Ask HN: What best practices for in-house Docker Registry? by seslattery on Friday February 23, 2018 @11:15AM (#16447203)
What I've done before is use branch-buildID (develop-009) for tags, and then add detailed information like the git commit sha, git version tags, as labels. All of these labels were passed in as build args to Docker from the CI/CD system. One other important thing to consider is if you have docker tags that can be overwritten, which is the default in most repos, in the docker file it is useful to specify FROM sha256 checksum instead of labels for reproducible builds.

There are no comments on this comment yet.