Skip to content

Commit

Permalink
Merge pull request #104 from pik4ez/issue-480
Browse files Browse the repository at this point in the history
Fixes openebs/openebs#480. Added BUILD_DATE label for maya docker image.
  • Loading branch information
kmova committed Oct 10, 2017
2 parents 392f923 + 29bb0a9 commit 74ac2ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GNUmakefile
Expand Up @@ -20,6 +20,9 @@ GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
# Specify the name for the maya binary
MAYACTL=maya

# Specify the date o build
BUILD_DATE = $(shell date +'%Y%m%d%H%M%S')

all: test

dev: format
Expand Down Expand Up @@ -87,7 +90,7 @@ bootstrap:

image:
@cp bin/maya buildscripts/docker/
@cd buildscripts/docker && sudo docker build -t openebs/maya:ci .
@cd buildscripts/docker && sudo docker build -t openebs/maya:ci --build-arg BUILD_DATE=${BUILD_DATE} .
@sh buildscripts/push

# You might need to use sudo
Expand Down

0 comments on commit 74ac2ad

Please sign in to comment.