diff --git a/Makefile b/Makefile index f967ab8..9473f55 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,9 @@ NODE_ALPINE_IMAGE ?= node:lts-alpine3.20 SERVERLESS_VERSION = 3.39.0 INTERNAL_VERSION = 1.0.0 # SERVERLESS_VERSION ?= $(shell docker run --rm $(NODE_ALPINE_IMAGE) npm show serverless version) +TIMESTAMP = $(shell date +%y%m%d%H%M) # Timestamp in YYMMDDHHMM format IMAGE_NAME ?= amaysim/serverless -IMAGE = $(IMAGE_NAME):$(SERVERLESS_VERSION)-$(INTERNAL_VERSION) +IMAGE = $(IMAGE_NAME):$(SERVERLESS_VERSION)-$(INTERNAL_VERSION)-$(TIMESTAMP) ROOT_DIR = $(dir $(abspath $(firstword $(MAKEFILE_LIST)))) ciTest: deps info build buildMultiArch clean