mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-08 21:38:15 -05:00
Set docker VCS_REF back to a 7 char hash (#7551)
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
This commit is contained in:
@@ -819,7 +819,7 @@ task distDocker {
|
||||
dockerPlatform = "--platform ${project.getProperty('docker-platform')}"
|
||||
println "Building for platform ${project.getProperty('docker-platform')}"
|
||||
}
|
||||
def gitDetails = getGitCommitDetails()
|
||||
def gitDetails = getGitCommitDetails(7)
|
||||
executable shell
|
||||
workingDir dockerBuildDir
|
||||
args "-c", "docker build ${dockerPlatform} --build-arg BUILD_DATE=${buildTime()} --build-arg VERSION=${dockerBuildVersion} --build-arg VCS_REF=${gitDetails.hash} -t ${image} ."
|
||||
|
||||
Reference in New Issue
Block a user