Change build tag from COMMIT_SHA to SHORT_SHA-BUILD_ID.

Rebuilding a container from the same commit can build a different
container image but it is not reflected in the image tag. To distinguish
images built from the same commit, we use SHORT_SHA and BUILD_ID.

Updates the user doc accordinly.

BUG=b/297072262
TEST=None
RELEASE_NOTE=None

Change-Id: I8bf149605f242cdf7388d2546c31c6e0d7baedfd
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/66030
Tested-by: Anil Altinay <aaltinay@google.com>
Reviewed-by: Arnav Kansal <rnv@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
6 files changed
tree: 4b6f953e16bc6f0d31bb683f6a985fe1db644e5c
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. .gitignore
  6. BUILD.bazel
  7. cloudbuild.yaml
  8. CONTRIBUTING.md
  9. deps.bzl
  10. go.mod
  11. go.sum
  12. LICENSE
  13. postsubmit-cloudbuild.yaml
  14. README.md
  15. run_tests.sh
  16. run_unit_tests.sh
  17. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.