Skip to content

Commit

Permalink
Merge pull request #4 from Cervest/ecr-repo-cross-account
Browse files Browse the repository at this point in the history
update to allow ecr repo in a different aws account
  • Loading branch information
raids authored Nov 12, 2021
2 parents 90cd8f7 + 1134726 commit b603989
Show file tree
Hide file tree
Showing 5 changed files with 1,694 additions and 10 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: init-credentials
description: "Set up AWS and Kubernetes credentials to be used by subsequent steps."
inputs:
aws_account_id:
description: "Which AWS account ID to deploy into (e.g. with Terraform, K8s)."
required: true
aws_access_key_id:
required: true
Expand All @@ -14,6 +15,8 @@ inputs:
required: true
aws_iam_role_name:
description: "Used to set up another local AWS profile for assuming another IAM role; required for cross-account k8s auth."
ecr_aws_account_id:
description: "If logging in to ECR, which AWS account ID the ECR repo is in."
runs:
using: "node12"
main: "build/index.js"
10 changes: 6 additions & 4 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b603989

Please sign in to comment.