Versions in this module Expand all Collapse all v1 v1.1.0 Apr 22, 2020 Changes in this version type Build + CacheFroms []string v1.0.1 Mar 23, 2020 Changes in this version + func GetLabels(build Build, github GitHub) []string + func GetRegistry() string + func GetTags(registry string, github GitHub) ([]string, error) + func ShouldPush() (bool, error) + type Build struct + AddGitLabels bool + AlwaysPull bool + BuildArgs []string + Dockerfile string + Labels []string + Path string + Target string + func GetBuildOptions() (Build, error) + type GitHub struct + Action string + EventName string + Reference GitReference + Repository string + RunInActions bool + Sha string + Workflow string + func GetGitHubOptions() (GitHub, error) + type GitReference struct + Name string + Type GitReferenceType + type GitReferenceType int + const GitRefHead + const GitRefPullRequest + const GitRefTag + const GitRefUnknown + type Login struct + Password string + Username string + func GetLoginOptions() (Login, error)