From c64f105a3e5a9857b7ee3391a54cb49a1216aef2 Mon Sep 17 00:00:00 2001 From: Jipan Yang Date: Mon, 29 Oct 2018 12:06:57 -0700 Subject: [PATCH] [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 * add BUILD_NUMBER as well Signed-off-by: Guohan Lu --- slave.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slave.mk b/slave.mk index b6aa2e5e9589..c8d834149b17 100644 --- a/slave.mk +++ b/slave.mk @@ -9,7 +9,7 @@ SHELL = /bin/bash USER = $(shell id -un) UID = $(shell id -u) GUID = $(shell id -g) -SONIC_GET_VERSION=$(shell . functions.sh && sonic_get_version) +SONIC_GET_VERSION=$(shell export BUILD_TIMESTAMP=$(BUILD_TIMESTAMP) && export BUILD_NUMBER=$(BUILD_NUMBER) && . functions.sh && sonic_get_version) .SECONDEXPANSION: