Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ImageVersion is the golang version extracted from the Dockerfile ImageVersion = "v2.15.2" // DockerfileChecksum is the checksum of the Dockerfile content DockerfileChecksum = "2f111de01f705440e234060a25d48a3ff653dbd4a595f11aca193a14be390bf9" )
Default Dockerfile (Dockerfile.goreleaser-zig)
View Source
const (
IMAGE = "goreleaser/goreleaser:v2.15.2"
)
Variables ¶
View Source
var DockerfileContent = `` /* 491-byte string literal not displayed */
DockerfileContent contains the embedded Dockerfile content
View Source
var ErrMissingToken = fmt.Errorf("missing CONTAINIFYCI_GITHUB_TOKEN")
ErrMissingToken is returned when CONTAINIFYCI_GITHUB_TOKEN is not set
Functions ¶
func CacheFolder ¶
func CacheFolder() string
func GetDockerfileMetadata ¶ added in v0.42.2
GetDockerfileMetadata returns the metadata for the specified variant type. Pass empty string "" for default variant.
func Matches ¶ added in v0.31.0
Matches implements the Build interface - GoReleaser only runs for golang builds with goreleaser=true
func ZigGoreleaserImage ¶ added in v0.42.2
ZigGoreleaserImage returns the image URI for the goreleaser+zig intermediate image
Types ¶
type GoReleaserContainer ¶
func (*GoReleaserContainer) ApplyEnvs ¶
func (c *GoReleaserContainer) ApplyEnvs(envs []string) []string
func (*GoReleaserContainer) BuildZigImage ¶ added in v0.42.2
func (c *GoReleaserContainer) BuildZigImage() error
BuildZigImage builds the intermediate goreleaser+zig Docker image
func (*GoReleaserContainer) Pull ¶
func (c *GoReleaserContainer) Pull() error
func (*GoReleaserContainer) Release ¶
func (c *GoReleaserContainer) Release(env container.EnvType) error
func (*GoReleaserContainer) Run ¶
func (c *GoReleaserContainer) Run() (string, error)
Click to show internal directories.
Click to hide internal directories.