Skip to content

Commit

Permalink
[build]: Add missing timestamp and build_number in docker meta label …
Browse files Browse the repository at this point in the history
…tag value (#2194)

* Add missing timestamp in docker meta label tag value

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* add BUILD_NUMBER as well

Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
jipanyang authored and lguohan committed Oct 29, 2018
1 parent 2df1774 commit c64f105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit c64f105

Please sign in to comment.