cos-customizer: Add arm64 target for docker-credential-gcr

Since Bazel's --platforms flag doesn't work for us, we need to patch
docker-credential-gcr to offer an explicit arm64 target. The target
definition is very small and has few dependencies, so I expect this new
patch to be very low maintenance.

It probably doesn't make much sense to upstream because the --platforms
flag works in nearly all other use cases, and it would be strange for
docker-credential-gcr to have amd64 and arm64 targets, but not targets
for other architectures/operating systems.

This change makes no behavioral changes.

BUG=b/176990931
TEST=`bazel test`

Change-Id: I1d1e7d11d9950fc752207b887ef450dbcdc2d81d
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/25882
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Roy Yang <royyang@google.com>
Tested-by: Robert Kolchmeyer <rkolchmeyer@google.com>
4 files changed
tree: e89a27690b67de1b1c9081e510533f0431770a46
  1. release/
  2. src/
  3. testing/
  4. BUILD.bazel
  5. cloudbuild.yaml
  6. CONTRIBUTING.md
  7. deps.bzl
  8. go.mod
  9. go.sum
  10. LICENSE
  11. README.md
  12. run_tests.sh
  13. 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.