)]}'
{
  "commit": "a195d24d1f5369051bf344dabe31fd1e3ee54e53",
  "tree": "568341c85de11f99f2e82742cce84e3ec955a9dc",
  "parents": [
    "59e40e63479576e8e40b185c317e23baeda0c34b"
  ],
  "author": {
    "name": "Alano Terblanche",
    "email": "18033717+Benehiko@users.noreply.github.com",
    "time": "Fri Oct 23 12:53:47 2026"
  },
  "committer": {
    "name": "Alano Terblanche",
    "email": "18033717+Benehiko@users.noreply.github.com",
    "time": "Mon Oct 26 10:07:48 2026"
  },
  "message": "cli/command: look up registry credentials through internal/registryauth\n\nRetrieveAuthTokenFromImage is exported and imported by other projects, so it keeps reading only the configuration file. The commands that pull and push call registryauth.EncodedAuth instead, which asks DOCKER_AUTH_CONFIG, then the Docker Desktop session, then the configuration file. This drops command.EncodedRegistryAuth from the public API.\n\nEach DockerCli owns its Docker Desktop sessions through RegistryAuthProvider, created on first use, instead of package-level sessions shared by every caller. A command.Cli without RegistryAuthProvider uses only its configuration file. The fallback reads the current configuration file, since Initialize replaces it.\n\nRemove the session fields and the constructors that only tests used, move the staging and dhi.io hostnames into internal/secretsengine, and use testing/synctest instead of a fake clock, so that the tests run in parallel. Only the DOCKER_AUTH_CONFIG test still sets the environment.\n\nSigned-off-by: Alano Terblanche \u003c18033717+Benehiko@users.noreply.github.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d2f4b506f6320be8252c60ab1d7e3d38218e727",
      "old_mode": 33188,
      "old_path": "cli/command/cli.go",
      "new_id": "308cbbd18b6e54fa6cb2ce7af04ad3ad7a2c6ffc",
      "new_mode": 33188,
      "new_path": "cli/command/cli.go"
    },
    {
      "type": "modify",
      "old_id": "09c093d5ddeffe92937546d9e90d186f9627c136",
      "old_mode": 33188,
      "old_path": "cli/command/cli_test.go",
      "new_id": "fc0413f50d203d151c7f36b34744fe2baf26e649",
      "new_mode": 33188,
      "new_path": "cli/command/cli_test.go"
    },
    {
      "type": "modify",
      "old_id": "13e7dde4d4414f25060c449bd2df564d3d8e6ea5",
      "old_mode": 33188,
      "old_path": "cli/command/container/create.go",
      "new_id": "14ab92d5737fb379d0e34f7c34e3f1498fb1a7d2",
      "new_mode": 33188,
      "new_path": "cli/command/container/create.go"
    },
    {
      "type": "modify",
      "old_id": "fdbe0814c8910c02877d815aab1f449389324530",
      "old_mode": 33188,
      "old_path": "cli/command/image/pull.go",
      "new_id": "27aca9e75af745aa4166127dbd181fc58a41f410",
      "new_mode": 33188,
      "new_path": "cli/command/image/pull.go"
    },
    {
      "type": "modify",
      "old_id": "6a33a91eb5b161bb044f44519d5baf2a11c8f3ab",
      "old_mode": 33188,
      "old_path": "cli/command/image/push.go",
      "new_id": "fdd1f52f47cffd34379398a70cc9fc0115eb610f",
      "new_mode": 33188,
      "new_path": "cli/command/image/push.go"
    },
    {
      "type": "modify",
      "old_id": "0d457af7bc3d09d04d03256be2e29cc98dcc8a5e",
      "old_mode": 33188,
      "old_path": "cli/command/plugin/install.go",
      "new_id": "eaffc5eae9ff55a2b989893d02e692a8f0b9fb4c",
      "new_mode": 33188,
      "new_path": "cli/command/plugin/install.go"
    },
    {
      "type": "modify",
      "old_id": "5c7e84dbe63d090d0d07899a768bc6096b9f6630",
      "old_mode": 33188,
      "old_path": "cli/command/plugin/push.go",
      "new_id": "ca7f7139faeeb9cac19158ed55647b14dfbf6eec",
      "new_mode": 33188,
      "new_path": "cli/command/plugin/push.go"
    },
    {
      "type": "modify",
      "old_id": "41ebc6d8ae97bfaf50ef41315664d42fb520a2b8",
      "old_mode": 33188,
      "old_path": "cli/command/registry.go",
      "new_id": "2e767d5b72f3326dd9135d4937c60dfc82de3234",
      "new_mode": 33188,
      "new_path": "cli/command/registry.go"
    },
    {
      "type": "delete",
      "old_id": "918036fe47fd013291900e788c6cef35f4d893c7",
      "old_mode": 33188,
      "old_path": "cli/command/registry_internal_test.go",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "865e72ad5447257a85d93267014a6696d9f0a548",
      "old_mode": 33188,
      "old_path": "cli/command/registry_test.go",
      "new_id": "751711f36391756fa3867f944e905240bccab6bb",
      "new_mode": 33188,
      "new_path": "cli/command/registry_test.go"
    },
    {
      "type": "modify",
      "old_id": "b95f8c9dbde513a2133419976a445358a35852a0",
      "old_mode": 33188,
      "old_path": "cli/command/service/create.go",
      "new_id": "d2c1e0ee688c38536e5857914e8011450a57252a",
      "new_mode": 33188,
      "new_path": "cli/command/service/create.go"
    },
    {
      "type": "modify",
      "old_id": "35ffe9fb9f2ce6780407513b624e191f6201ce6b",
      "old_mode": 33188,
      "old_path": "cli/command/service/update.go",
      "new_id": "7da58245aacbfabeac8890a97e07c11b58f49d64",
      "new_mode": 33188,
      "new_path": "cli/command/service/update.go"
    },
    {
      "type": "modify",
      "old_id": "01041008bc025c49efda6f61f6518a9817531d47",
      "old_mode": 33188,
      "old_path": "cli/command/stack/deploy_composefile.go",
      "new_id": "82f8c740736dd62b64d422538f15a88f21e79f10",
      "new_mode": 33188,
      "new_path": "cli/command/stack/deploy_composefile.go"
    },
    {
      "type": "modify",
      "old_id": "062940f6274b851e56e13c76cdca46d2a78bed1a",
      "old_mode": 33188,
      "old_path": "internal/registry/config.go",
      "new_id": "aab0b7ae2896a79f67bd852db2d961eb80e764b6",
      "new_mode": 33188,
      "new_path": "internal/registry/config.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "657387492aa1b1741f6a63466f2ab27cc2835f34",
      "new_mode": 33188,
      "new_path": "internal/registryauth/registryauth.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "941fc9de5cad574ea041ceeac868cd094aa52078",
      "new_mode": 33188,
      "new_path": "internal/registryauth/registryauth_test.go"
    },
    {
      "type": "modify",
      "old_id": "f614a0229374a24166b51436c436c0d3eab2c338",
      "old_mode": 33188,
      "old_path": "internal/secretsengine/secretsengine.go",
      "new_id": "61ea71e409bf469e4397bfaed9a835a3a558103d",
      "new_mode": 33188,
      "new_path": "internal/secretsengine/secretsengine.go"
    },
    {
      "type": "modify",
      "old_id": "c185e53cc2e394317440a8b0d2da2991402bc798",
      "old_mode": 33188,
      "old_path": "internal/secretsengine/secretsengine_test.go",
      "new_id": "c6f0a71eb04fd3910f48de2ef7a372b062841985",
      "new_mode": 33188,
      "new_path": "internal/secretsengine/secretsengine_test.go"
    }
  ]
}
