blob: 3dc1b1059ca8af65e78a35cdd1e9f7edcfea639c [file] [log] [blame]
package pubsub
import (
const (
// TOPIC is the PubSub topic for docker image push messages.
TOPIC = "skia-docker-builds"
// The cloud project the above topic lives in.
TOPIC_PROJECT_ID = "skia-public"
// The type that will stored as data when publishing messages to the above topic.
type BuildInfo struct {
ImageName string `json:"image_name"`
Tag string `json:"tag"`
Repo string `json:"repo"`
func (b BuildInfo) String() string {
return fmt.Sprintf("%s:%s", b.ImageName, b.Tag)