Open BenHesketh21 opened 2 years ago
This is the script that executes in the Windows VM to configure the docker credentials. You can clone this repo, add the required commands to configure docker with your repository's credentials, build the container image, and use your own image instead of the public gke-windows-builder.
I'm looking into using Google Cloud Build and gke-windows-builder for building a Windows container image but I'm running into issues when trying to authenticate to a registry thats not a Google Artifact Registry. Please could you advise how to achieve this? Or point me to the right place to ask this question?
I have ran steps before the gke-windows-builder to perform a docker login but then when the container tries to push it is still saying I'm unauthorized.