Skip to content

Commit

Permalink
switch to using a credential helper rather than a credential store
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Nov 24, 2024
1 parent 9b20358 commit 3ace817
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .evergreen/docker-config/bin/docker-credential-from-env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

set -euo pipefail

DOCKER_HUB_URL="https://index.docker.io/v1/"
# index
#DOCKER_HUB_URL="https://index.docker.io/v1/"

# registry (maybe?)
DOCKER_HUB_URL="registry.hub.docker.com"

STDIN=$(cat)

Expand Down
9 changes: 4 additions & 5 deletions .evergreen/docker-config/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"auths": {
"https://index.docker.io/v1/": {}
},
"credsStore": "from-env"
}
"credHelpers": {
"registry.hub.docker.com": "from-env"
}
}

0 comments on commit 3ace817

Please sign in to comment.