Skip to content

Commit

Permalink
ecr test
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Aug 23, 2024
1 parent 784acb6 commit a6d4d63
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/terragrunt_create_dev_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,14 @@ jobs:
role-session-name: NotifyApiGitHubActions
aws-region: "us-east-1"

- name: Login to Amazon ECR Private
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

run: |
# Get the ECR login password and use it to log in to the ECR registry
result=$(aws ecr get-login-password --region ca-central-1 | docker --config ${GITHUB_WORKSPACE}/${GITHUB_RUN_ID} login --username AWS --password-stdin 800095993820.dkr.ecr.ca-central-1.amazonaws.com)
# Print the login result for debugging
echo "Login Result: $result"
- name: setup-terraform
uses: ./.github/actions/setup-terraform
with:
Expand Down

0 comments on commit a6d4d63

Please sign in to comment.