Skip to content

Commit

Permalink
Catch google artifact registry gotcha (Cherry-pick of #19568) (#19569)
Browse files Browse the repository at this point in the history
The command referenced in the docker config is `gcloud` which is a
suffix for `docker-credential-gcloud`. This can be a significant gotcha
when first trying to set up docker publishing.

Since I was asked to submit this as a PR, do you also want me to update
the relevant "suggest edit" section?

Co-authored-by: Christoph Proeschel <[email protected]>
  • Loading branch information
WorkerPants and chrismatix authored Aug 8, 2023
1 parent 08a2dd7 commit 6183f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/markdown/Docker/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Most authentication mechanisms will also require tools exposed on the `$PATH` to
[docker]
env_vars = ["DOCKER_CONFIG=%(homedir)s/.docker"]
tools = [
"docker-credential-gcr",
"docker-credential-gcr", # or docker-credential-gcloud when using artifact registry
"dirname",
"readlink",
"python3",
Expand Down

0 comments on commit 6183f10

Please sign in to comment.