tagging artifacts for cicd

because a git sha is devoid of information

SEAN K.H. LIAO

tagging artifacts for cicd

because a git sha is devoid of information

tagging artifacts

In the brave new world of building and deploying every commit (Continuous Integration / Continuous Deployment, CI/CD), for every commit in your git repo, you need to build it, outputting a binary artifact, an executable or an entire container image. Now comes the problem: how do you organize and keep track of it?

Here's a list of ways to tag things:

Even with all of the above, if you're using containers, nothing technically prevents you from modifying tags. Instead you should consider also use image digests some/image@sha256:abc...123, and maybe store authenticated metadata in a separate artifact, eg with cosign. You may still want that tagging, so cleaning up old artifacts is easier...