Predefined variable for Git commit SHA
Summary:
Hi
Questions:
- Is there a predefined variable to use in YAML scripts for a Git commit short SHA? Gitlab has one (
CI_COMMIT_SHORT_SHA
here). I would like to use it for when I tag my docker images in a repository (i.e. I don't want to use "latest" tag, and I want to trace commits from Git to docker image). - I am evaluating Oracle VB as a replacement for Gitlab. I get the impression that Oracle VB is mainly focussed on Oracle products (OCI etc) - if I want to deploy to OCI and to other cloud providers, will I get the same experience deploying to non-OCI targets? We're mostly just building, pushing to a docker repo and then deploying to managed kubernetes at this point.
Tagged:
0