Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Credentials ¶
type Credentials struct {
// Repository is the target container registry repository.
Repository string
// Username is the registry login username.
Username string
// Token is the registry login password or token.
Token string
}
Credentials configures registry destination and authentication.
type Options ¶
type Options struct {
// Credentials contains registry destination and authentication settings.
Credentials Credentials
// Force allows rebuilding and publishing a version that already exists.
Force bool
// Debug keeps generated build files in the package root after build.
Debug bool
// Sign configures image signing during the build.
Sign SignOptions
}
Options configures registry authentication, build behavior, and image signing.
type SignOptions ¶
type SignOptions struct {
// Enabled turns on image manifest signing.
Enabled bool
// Cert is a signing certificate path or base64-encoded certificate.
Cert string
// Key is a signing key path, base64-encoded key, or vault path.
Key string
}
SignOptions configures optional image signing.
Click to show internal directories.
Click to hide internal directories.