Set docker VCS_REF back to a 7 char hash (#7551)

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
pull/7532/head
Matilda-Clerke 3 months ago committed by GitHub
parent c915e057cf
commit ac5e9af5e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      build.gradle

@ -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} ."

Loading…
Cancel
Save