From 4f018e11f7ea976dbfee0cfe17ef2d054d429564 Mon Sep 17 00:00:00 2001 From: jackgr Date: Thu, 25 Feb 2016 16:23:27 -0800 Subject: [PATCH] Set image tag to timestamp. --- expandybird/Makefile | 1 - include.mk | 2 ++ manager/Makefile | 1 - resourcifier/Makefile | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/expandybird/Makefile b/expandybird/Makefile index df97481fd..16f0c7882 100644 --- a/expandybird/Makefile +++ b/expandybird/Makefile @@ -19,7 +19,6 @@ include ../include.mk DOCKER_REGISTRY := gcr.io PREFIX := $(DOCKER_REGISTRY)/$(PROJECT) IMAGE := expandybird -TAG := latest ROOT_DIR := $(abspath ./..) DIR = $(ROOT_DIR) diff --git a/include.mk b/include.mk index fba7d5f4e..28b957e61 100644 --- a/include.mk +++ b/include.mk @@ -5,6 +5,8 @@ info: @echo "Project: ${PROJECT}" @echo "Image: ${IMAGE}" +TAG := $(shell echo `date +"%s"`_`date +"%N"`) + .PHONY: test-unit test-unit: @echo Running tests... diff --git a/manager/Makefile b/manager/Makefile index 2e3a2ad55..209c874f2 100644 --- a/manager/Makefile +++ b/manager/Makefile @@ -19,7 +19,6 @@ include ../include.mk DOCKER_REGISTRY := gcr.io PREFIX := $(DOCKER_REGISTRY)/$(PROJECT) IMAGE := manager -TAG := latest ROOT_DIR := $(abspath ./..) DIR = $(ROOT_DIR) diff --git a/resourcifier/Makefile b/resourcifier/Makefile index 1b80a7dca..9d6eebe1a 100644 --- a/resourcifier/Makefile +++ b/resourcifier/Makefile @@ -21,7 +21,6 @@ include ../include.mk DOCKER_REGISTRY := gcr.io PREFIX := $(DOCKER_REGISTRY)/$(PROJECT) IMAGE := resourcifier -TAG := latest ROOT_DIR := $(abspath ./..) DIR = $(ROOT_DIR)