func (p RepositoryPushHook) PushedImageURL() string {
	return fmt.Sprintf("%s:%s", p.DockerURL, p.UpdatedTags[0])
}
PushedImageURL is an implementation of the hooks.PushEvent interface.
package quay
import (
	"encoding/json"
	"fmt"
	"github.com/gitops-tools/image-updater/pkg/hooks"
)
func Parse(payload []byte) (hooks.PushEvent, error) {
	h := &RepositoryPushHook{}
	err := json.Unmarshal(payload, h)
	if err != nil {
		return nil, err
	}
	return h, nil
}
type RepositoryPushHook struct {
	Name        string   `json:"name"`
	Repository  string   `json:"repository"`
	Namespace   string   `json:"namespace"`
	DockerURL   string   `json:"docker_url"`
	Homepage    string   `json:"homepage"`
	UpdatedTags []string `json:"updated_tags,omitempty"`
}