Skip to content

Commit c64f105

Browse files
jipanyanglguohan
authored andcommitted
[build]: Add missing timestamp and build_number in docker meta label tag value (#2194)
* Add missing timestamp in docker meta label tag value Signed-off-by: Jipan Yang <[email protected]> * add BUILD_NUMBER as well Signed-off-by: Guohan Lu <[email protected]>
1 parent 2df1774 commit c64f105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slave.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SHELL = /bin/bash
99
USER = $(shell id -un)
1010
UID = $(shell id -u)
1111
GUID = $(shell id -g)
12-
SONIC_GET_VERSION=$(shell . functions.sh && sonic_get_version)
12+
SONIC_GET_VERSION=$(shell export BUILD_TIMESTAMP=$(BUILD_TIMESTAMP) && export BUILD_NUMBER=$(BUILD_NUMBER) && . functions.sh && sonic_get_version)
1313

1414
.SECONDEXPANSION:
1515

0 commit comments

Comments
 (0)