Here's a minimal example which I got to work: ```...
# ask-for-help
b
Here's a minimal example which I got to work:
Copy code
package main

import (
	"fmt"

	"<http://github.com/heroku/docker-registry-client/registry|github.com/heroku/docker-registry-client/registry>"
)

func main() {
	url := "<https://asia.gcr.io/>"

	username := "_json_key"

	password := `{
	  "type": "service_account",
	  ...
	}`

	hub, err := registry.New(url, username, password)
	if err != nil {
		fmt.Println(err)
	}

	if hub != nil {
		manifest, err := hub.Tags("jago-data-sandbox/ktp-ocr")

		if err != nil {
			fmt.Println(err)
		}

		if manifest != nil {
			fmt.Println(manifest)
		}
	}
}