Skip to content

Commit

Permalink
Merge pull request #60 from amaysim-au/task/APP-5407-adding-timestamp…
Browse files Browse the repository at this point in the history
…-to-the-created-images

APP-5407-fixing-the-broken-publish-on-node-packages
  • Loading branch information
farhad-ris authored Nov 12, 2024
2 parents a6ca75a + b326b9a commit be8e981
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be8e981

Please sign in to comment.