Skip to content

Commit 3ace817

Browse files
committed
switch to using a credential helper rather than a credential store
1 parent 9b20358 commit 3ace817

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.evergreen/docker-config/bin/docker-credential-from-env

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
set -euo pipefail
44

5-
DOCKER_HUB_URL="https://index.docker.io/v1/"
5+
# index
6+
#DOCKER_HUB_URL="https://index.docker.io/v1/"
7+
8+
# registry (maybe?)
9+
DOCKER_HUB_URL="registry.hub.docker.com"
610

711
STDIN=$(cat)
812

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"auths": {
3-
"https://index.docker.io/v1/": {}
4-
},
5-
"credsStore": "from-env"
6-
}
2+
"credHelpers": {
3+
"registry.hub.docker.com": "from-env"
4+
}
5+
}

0 commit comments

Comments
 (0)