Documentation
¶
Overview ¶
Package docker provides the v2 of GoReleaser's docker pipe.
Index ¶
Constants ¶
View Source
const ExtraPlatforms = "Platforms"
ExtraPlatforms is the artifact Extra key holding the list of platforms a v2 docker image was built for (e.g. ["linux/amd64", "linux/arm64"]).
Variables ¶
This section is empty.
Functions ¶
func IsRetriableBuild ¶
IsRetriableBuild reports whether a failed docker build is worth retrying.
Besides genuine network errors, docker builds routinely fail for transient reasons a retry can recover from: pulling base images may hit registry rate limits or 5xx responses, and installing packages from other sources (apt, apk, ...) inside RUN steps may hit flaky mirrors or DNS hiccups.
Types ¶
type Base ¶
type Base struct{}
Base v2 docker pipe.
func (Base) Dependencies ¶
Dependencies implements DependencyChecker.
func (Base) Healthcheck ¶
Healthcheck implements Healthchecker.
Click to show internal directories.
Click to hide internal directories.