From 77f4044949dbdd375d4f51dd15bf0ab20f334fd1 Mon Sep 17 00:00:00 2001 From: Balwant Singh <2805177+phenixcoder@users.noreply.github.com> Date: Wed, 10 Nov 2021 13:33:47 +1100 Subject: [PATCH 1/4] feat(publish): migrated to private ECR Repo --- publish.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/publish.sh b/publish.sh index a63655b..792b3d5 100755 --- a/publish.sh +++ b/publish.sh @@ -1,8 +1,10 @@ #!/bin/bash +REPO=045615149555.dkr.ecr.ap-southeast-2.amazonaws.com/lambda-container-service + npm version $1 --no-git-tag-version docker build -t lambda-container-service . -docker tag lambda-container-service:latest public.ecr.aws/m0q0z2r6/lambda-container-service:$1 -docker push public.ecr.aws/m0q0z2r6/lambda-container-service:$1 -docker tag lambda-container-service:latest public.ecr.aws/m0q0z2r6/lambda-container-service:latest -docker push public.ecr.aws/m0q0z2r6/lambda-container-service:latest \ No newline at end of file +docker tag lambda-container-service:latest $REPO:$1 +docker push $REPO:$1 +docker tag lambda-container-service:latest $REPO:latest +docker push $REPO:latest \ No newline at end of file From 2eaf181afa020f8abdc0bdc6a29221b94519bedd Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 10 Nov 2021 02:35:24 +0000 Subject: [PATCH 2/4] chore(release): 1.2.0 [skip ci] # [1.2.0](https://github.com/phenixcoder/lambda-container-service/compare/v1.1.0...v1.2.0) (2021-11-10) ### Features * **publish:** migrated to private ECR Repo ([77f4044](https://github.com/phenixcoder/lambda-container-service/commit/77f4044949dbdd375d4f51dd15bf0ab20f334fd1)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d41cdc8..baf8a0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.2.0](https://github.com/phenixcoder/lambda-container-service/compare/v1.1.0...v1.2.0) (2021-11-10) + + +### Features + +* **publish:** migrated to private ECR Repo ([77f4044](https://github.com/phenixcoder/lambda-container-service/commit/77f4044949dbdd375d4f51dd15bf0ab20f334fd1)) + # [1.1.0](https://github.com/phenixcoder/lambda-container-service/compare/v1.0.0...v1.1.0) (2021-10-19) From 82a7e2f5bc21bdf1526aaf83bbbb5387eae7d321 Mon Sep 17 00:00:00 2001 From: Balwant Singh <2805177+phenixcoder@users.noreply.github.com> Date: Wed, 10 Nov 2021 13:39:45 +1100 Subject: [PATCH 3/4] ci: updated ecr login command --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b013c94..8a190ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: node-version: 14 - name: Package 📦 run: | - aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/m0q0z2r6 + aws ecr get-login-password --region ap-southeast-2 | docker login --username AWS --password-stdin 045615149555.dkr.ecr.ap-southeast-2.amazonaws.com npm ci npm run build env: From a163552e4496c175ca4147e868018bb98a88db31 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 10 Nov 2021 02:48:46 +0000 Subject: [PATCH 4/4] chore(release): 1.2.0 [skip ci] # [1.2.0](https://github.com/phenixcoder/lambda-container-service/compare/v1.1.0...v1.2.0) (2021-11-10) ### Features * **publish:** migrated to private ECR Repo ([77f4044](https://github.com/phenixcoder/lambda-container-service/commit/77f4044949dbdd375d4f51dd15bf0ab20f334fd1)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index baf8a0e..93edbb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # [1.2.0](https://github.com/phenixcoder/lambda-container-service/compare/v1.1.0...v1.2.0) (2021-11-10) +### Features + +* **publish:** migrated to private ECR Repo ([77f4044](https://github.com/phenixcoder/lambda-container-service/commit/77f4044949dbdd375d4f51dd15bf0ab20f334fd1)) + +# [1.2.0](https://github.com/phenixcoder/lambda-container-service/compare/v1.1.0...v1.2.0) (2021-11-10) + + ### Features * **publish:** migrated to private ECR Repo ([77f4044](https://github.com/phenixcoder/lambda-container-service/commit/77f4044949dbdd375d4f51dd15bf0ab20f334fd1))