Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTagSuffix ¶
DefaultTagSuffix returns a set of default suggested tags based on the commit ref with an attached suffix.
func DefaultTags ¶
DefaultTags returns a set of default suggested tags based on the commit ref.
func UseDefaultTag ¶
UseDefaultTag for keep only default branch for latest tag
Types ¶
type Build ¶
type Build struct {
Remote string // Git remote URL
Name string // Docker build using default named tag
Dockerfile string // Docker build Dockerfile
Context string // Docker build context
Tags []string // Docker build tags
Args []string // Docker build args
ArgsEnv []string // Docker build args from env
Target string // Docker build target
Squash bool // Docker build squash
Pull bool // Docker build pull
CacheFrom []string // Docker build cache-from. It is a NOOP in buildah
Compress bool // Docker build compress
Repo string // Docker build repository
LabelSchema []string // label-schema Label map
AutoLabel bool // auto-label bool
Labels []string // Label map
Link string // Git repo link
NoCache bool // Docker build no-cache
AddHost []string // Docker build add-host
Quiet bool // Docker build quiet
S3CacheDir string
S3Bucket string
S3Endpoint string
S3Region string
S3Key string
S3Secret string
S3UseSSL bool
Layers bool
}
Build defines Docker build parameters.
type Login ¶
type Login struct {
Registry string // Docker registry address
Username string // Docker registry username
Password string // Docker registry password
Email string // Docker registry email
Config string // Docker Auth Config
}
Login defines Docker login parameters.
type Plugin ¶
type Plugin struct {
Login Login // Docker login configuration
Build Build // Docker build configuration
Dryrun bool // Docker push is skipped
Cleanup bool // Docker purge is enabled
PushOnly bool // Push only mode, skips build process
SourceTarPath string // Path to Docker image tar file to load and push
TarPath string // Path to save Docker image as tar file
}
Plugin defines the Docker plugin parameters.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
drone-acr
command
|
|
|
drone-docker
command
|
|
|
drone-ecr
command
|
|
|
drone-gcr
command
|
|
|
drone-heroku
command
|
Click to show internal directories.
Click to hide internal directories.
