Skip to content

Commit cecd3c2

Browse files
committed
Refactoring AWS_DEFAULT_REGION variables
1 parent 6f007a8 commit cecd3c2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ export PATH_COMPOSE="compose"
1313
export PATH_DOCKER="$(PATH_COMPOSE)/docker"
1414
export PATH_HELM="$(PATH_COMPOSE)/helm"
1515
export PROJECT_NAME="container"
16+
export AWS_DEFAULT_REGION="ap-southeast-1"
1617

17-
export CI_REGISTRY ?= $(ARGS).dkr.ecr.ap-southeast-1.amazonaws.com
18+
export CI_REGISTRY ?= $(ARGS).dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com
1819
export CI_PROJECT_PATH ?= devopscorner
1920
export CI_PROJECT_NAME ?= cicd
2021

@@ -23,9 +24,9 @@ DIR = $(shell pwd)
2324
VERSION ?= 1.3.0
2425

2526
export BASE_IMAGE=alpine
26-
export BASE_VERSION=3.16
27+
export BASE_VERSION=3.17
2728

28-
export ALPINE_VERSION=3.16
29+
export ALPINE_VERSION=3.17
2930
export UBUNTU_VERSION=22.04
3031
export CODEBUILD_VERSION=4.0
3132

0 commit comments

Comments
 (0)