Skip to content

Commit

Permalink
REGIONをハードコードしてみる。
Browse files Browse the repository at this point in the history
  • Loading branch information
inai17ibar committed Oct 21, 2023
1 parent f867659 commit 3ba2aa3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy-to-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up AWS region
run: echo "AWS_DEFAULT_REGION=${{ secrets.AWS_DEFAULT_REGION }}" >> $GITHUB_ENV

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
env:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_DEFAULT_REGION: us-east-1

- name: Build, tag, and push image to Amazon ECR
env:
Expand Down

0 comments on commit 3ba2aa3

Please sign in to comment.