You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# After https://github.com/docker/docker-credential-helpers/commit/fd0197473f0ecb29e73ccef9028057194ff463bc go 1.18 is required... Pin commit if earlier go installed
31
+
go_version="$(go version | cut -f3 -d'')"
32
+
IFS=. read -a go_version_parts <<<"$go_version"
33
+
go_major="${go_version_parts[0]##go}"
34
+
go_minor="${go_version_parts[1]}"
35
+
if [[ "$go_major"-eq 1 &&"$go_minor"-lt 18 ]];then
36
+
echo"Go version ${go_major}.${go_minor} < 1.18... Pinning credential-helper commit"
0 commit comments