From dae2f0ba3fabd22079213510efe2025e55997b22 Mon Sep 17 00:00:00 2001 From: Bansho Masutani Date: Sat, 19 Oct 2024 20:46:50 +0900 Subject: [PATCH] add AWS region --- .github/workflows/build_and_push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 57d12d9..4b43c7b 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -19,7 +19,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: arn:aws:iam::862331892216:role/jtk-github-action - aws-region: aws-region-1 + aws-region: ap-northeast-1 - name: Login to Amazon ECR Public id: login-ecr-public uses: aws-actions/amazon-ecr-login@v2 @@ -29,7 +29,7 @@ jobs: env: REGISTRY: ${{ steps.login-ecr-public.outputs.registry }} REGISTRY_ALIAS: r1e4j1j8 - REPOSITORY: ban-m/jtk + REPOSITORY: jtk IMAGE_TAG: ${{ github.sha }} run: | docker build -t $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG .