Skip to content

Commit

Permalink
use latest version of Serverless 3
Browse files Browse the repository at this point in the history
  • Loading branch information
flemay committed Jul 19, 2024
1 parent 3bd394b commit d652127
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
env.list
.idea
.idea
*.env
.serverless
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
NODE_ALPINE_IMAGE ?= node:lts-alpine3.19
SERVERLESS_VERSION ?= $(shell docker run --rm $(NODE_ALPINE_IMAGE) npm show serverless version)
NODE_ALPINE_IMAGE ?= node:lts-alpine3.20
SERVERLESS_VERSION = 3.39.0
# SERVERLESS_VERSION ?= $(shell docker run --rm $(NODE_ALPINE_IMAGE) npm show serverless version)
IMAGE_NAME ?= amaysim/serverless
IMAGE = $(IMAGE_NAME):$(SERVERLESS_VERSION)
ROOT_DIR = $(dir $(abspath $(firstword $(MAKEFILE_LIST))))

ciTest: deps build buildMultiArch clean
ciDeploy: deps buildMultiArchAndPush
ciTest: deps info build buildMultiArch clean
ciDeploy: deps info buildMultiArchAndPush

info:
$(info Node alpine image: $(NODE_ALPINE_IMAGE))
$(info Serverless version: $(SERVERLESS_VERSION))
$(info Image: $(IMAGE))

# Dependencies for the project such as Docker Node Alpine image
deps:
Expand Down

0 comments on commit d652127

Please sign in to comment.