You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
691 B
11 lines
691 B
aws configure set aws_access_key_id AKIAQNYBBSGDVT3VF4ON
|
|
aws configure set aws_secret_access_key DEhPMTHAIsKK7L2klURQrmMe3r2Tqgbaa6z2FYQu
|
|
aws configure set default.region ap-northeast-1
|
|
aws ecr get-login-password --region ap-northeast-1 | docker login --username AWS --password-stdin 029530100103.dkr.ecr.ap-northeast-1.amazonaws.com
|
|
|
|
docker build -t 029530100103.dkr.ecr.ap-northeast-1.amazonaws.com/aeon/dashboard-back:latest\
|
|
--build-arg JAR_FILE=target/dongjian-dashboard-back-controller-0.0.1-SNAPSHOT.jar \
|
|
--build-arg LIB_DIR=target/lib \
|
|
--build-arg CONFIG_DIR=target/config \
|
|
.
|
|
docker push 029530100103.dkr.ecr.ap-northeast-1.amazonaws.com/aeon/dashboard-back:latest
|