Skip to content

Commit 5386ace

Browse files
authored
Fix vcs revision label in docker images (elastic#119531) (elastic#119540)
1 parent 347527a commit 5386ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/docker/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ ext.expansions = { Architecture architecture, DockerBase base ->
127127
'bin_dir' : base == DockerBase.IRON_BANK ? 'scripts' : 'bin',
128128
'build_date' : buildDate,
129129
'config_dir' : base == DockerBase.IRON_BANK ? 'scripts' : 'config',
130-
'git_revision' : buildParams.gitRevision,
130+
'git_revision' : buildParams.gitRevision.get(),
131131
'license' : base == DockerBase.IRON_BANK ? 'Elastic License 2.0' : 'Elastic-License-2.0',
132132
'package_manager' : base.packageManager,
133133
'docker_base' : base.name().toLowerCase(),

0 commit comments

Comments
 (0)