Merge pull request #46130 from vvoland/ci-mobybin-sha
This commit is contained in:
commit
eb3ace962d
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ variable "DOCKER_BUILDTAGS" {
|
|||
default = ""
|
||||
}
|
||||
variable "DOCKER_GITCOMMIT" {
|
||||
default = "HEAD"
|
||||
default = null
|
||||
}
|
||||
|
||||
# Docker version such as 23.0.0-dev. Automatically generated through Git ref.
|
||||
|
@ -81,7 +81,7 @@ target "_common" {
|
|||
DOCKER_STATIC = DOCKER_STATIC
|
||||
DOCKER_LDFLAGS = DOCKER_LDFLAGS
|
||||
DOCKER_BUILDTAGS = DOCKER_BUILDTAGS
|
||||
DOCKER_GITCOMMIT = DOCKER_GITCOMMIT != "" ? DOCKER_GITCOMMIT : GITHUB_SHA
|
||||
DOCKER_GITCOMMIT = DOCKER_GITCOMMIT != null ? DOCKER_GITCOMMIT : GITHUB_SHA
|
||||
VERSION = VERSION != "" ? VERSION : GITHUB_REF
|
||||
PLATFORM = PLATFORM
|
||||
PRODUCT = PRODUCT
|
||||
|
|
Loading…
Reference in a new issue